Skip to content

ConstArithmeticAllow 无法正常拦截 #728

Closed
@wangyu4882

Description

select * from city_list where city_id = 3-1
setConstArithmeticAllow(false)

SELECT * from city_list where 2 = case when 2=1 then 1 else 2 END
setCaseConditionConstAllow(false)

SELECT * from city_list where city_id = 1 & 2
setConditionOpBitwseAllow(false)

上述sql 在1.0.9时可以被拦截, 但在1.0.11中不行
数据库类型Mysql

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions