You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我也遇到了类似的问题,版本1.1.4.
String sql = "select t1.a-t2.b as a from t1 join t2 on t1.z=t2.z where t2.c='1'";
MySqlSelectParser parser = new MySqlSelectParser(sql);
MySqlSelectQueryBlock query = (MySqlSelectQueryBlock) parser.query();
System.out.println("from\t:" + query.getFrom().toString());
输出:
from :t1 JOIN t2 ON com.alibaba.druid.sql.ast.expr.SQLBinaryOpExpr@cb3f030
Druid版本1.1.3
输入update语句
Parse 之后调用
SQLUpdateStatement
的 output语句输出:调用输出的时候调用了
SQLObjectImpl
的这里直接调用了Object的 toString,导致失败
The text was updated successfully, but these errors were encountered: