use of com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlDeleteStatement in project Mycat-Server by MyCATApache.
the class DruidDeleteParser method statementParse.
@Override
public void statementParse(SchemaConfig schema, RouteResultset rrs, SQLStatement stmt) throws SQLNonTransientException {
MySqlDeleteStatement delete = (MySqlDeleteStatement) stmt;
String tableName = StringUtil.removeBackquote(delete.getTableName().getSimpleName().toUpperCase());
ctx.addTable(tableName);
}
Aggregations