Commit 08fb1df9 by 郑冰晶

数据库加密组件

parent c5a6ad87
......@@ -61,7 +61,11 @@ public class MySqlSecurityParameterVisitor extends MySqlSchemaStatVisitor {
// where - 普通条件
if(parent instanceof SQLBinaryOpExpr){
SQLBinaryOpExpr sqlBinaryOpExpr = (SQLBinaryOpExpr) parent;
if(sqlBinaryOpExpr.getRight() instanceof SQLVariantRefExpr){
columnExpr = sqlBinaryOpExpr.getLeft();
}else{
columnExpr = sqlBinaryOpExpr.getRight();
}
}
// where - between
else if(parent instanceof SQLBetweenExpr){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment