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

Removed unused schemaName revert in pasreSelect()

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