Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

dealSingleSelectExpr column alias bug

  • Loading branch information...
commit d69e5c84566cbee81bfcbab9812c080449a9290c 1 parent 56c75e0
@taobao-zhaolin taobao-zhaolin authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/main/java/com/taobao/sqlautoreview/ParseSQL.java
View
1  src/main/java/com/taobao/sqlautoreview/ParseSQL.java
@@ -697,6 +697,7 @@ private static void dealSingleSelectExpr(String select_expr,Map<String, String>
column_name=alias_column_name;
map.put(alias_column_name, column_name);
logger.debug("column_name:"+column_name+" alias_column_name:"+alias_column_name);
+ return;
}
//处理空格
while(k-1>=0 && select_expr.substring(k-1, k).equals(" "))
Please sign in to comment.
Something went wrong with that request. Please try again.