mirror of https://github.com/apache/druid.git
bug fix for missing quotations creating default datasource
This commit is contained in:
parent
35362b3e6b
commit
5a511cbef0
|
@ -69,7 +69,7 @@ public class DatabaseRuleManager
|
|||
{
|
||||
List<Map<String, Object>> existing = handle.select(
|
||||
String.format(
|
||||
"SELECT id from %s where datasource=%s;",
|
||||
"SELECT id from %s where datasource='%s';",
|
||||
ruleTable,
|
||||
defaultDatasource
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue