提交 c8d6db4c authored 作者: Owner's avatar Owner

Removed unused schemaName revert in pasreSelect()

上级 24e903c6
...@@ -1886,9 +1886,9 @@ public class Parser { ...@@ -1886,9 +1886,9 @@ public class Parser {
private Query parseSelect() { private Query parseSelect() {
// This method and its subroutines sometimes resets the schema name - the try-finally block // This method and its subroutines sometimes resets the schema name - the try-finally block
// makes sure it is reverted if nulled // makes sure it is reverted if nulled
String savedSchemaName = schemaName; //String savedSchemaName = schemaName;
Query command = null; Query command = null;
try{ //try{
int paramIndex = parameters.size(); int paramIndex = parameters.size();
command = parseSelectUnion(); command = parseSelectUnion();
ArrayList<Parameter> params = New.arrayList(); ArrayList<Parameter> params = New.arrayList();
...@@ -1897,12 +1897,12 @@ public class Parser { ...@@ -1897,12 +1897,12 @@ public class Parser {
} }
command.setParameterList(params); command.setParameterList(params);
command.init(); command.init();
} //}
finally{ //finally{
if(schemaName==null){ //if(schemaName==null){
schemaName = savedSchemaName; // schemaName = savedSchemaName;
} //}
} //}
return command; return command;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论