提交 32139475 编写于 作者: S Serge Rider

#11533 Variables registry

上级 dbf5d7fa
......@@ -285,7 +285,7 @@ public class SQLScriptContext implements DBCScriptContext {
List<VariableInfo> varList;
if (dataSource != null) {
varList = SQLVariablesRegistry.getInstance().getDataSourceVariables(dataSource);
} else if (dataSource != null) {
} else if (driver != null) {
varList = SQLVariablesRegistry.getInstance().getDriverVariables(driver);
} else {
varList = new ArrayList<>();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册