This repository was archived by the owner on Oct 8, 2019. It is now read-only.

Description
String sql = "select id,name from food order by id";
TGSqlParser sqlparser = new TGSqlParser(EDbVendor.dbvhive));
sqlparser.setSqltext(sql);
int ret = sqlparser.parse();
if (ret != 0) {
LOG.error(sqlparser.getErrormessage());
return null;
}
// .....
it print syntax error, state:335(10102) near: by(1,33) no_root_node(-1000) near: no root node(0,0) null
but EDbVendor.dbvmysql ,it can pass , why? please