-
Type: Bug
-
Resolution: Fixed
-
Priority: Major
-
Affects Version/s: 0.9.3
-
Component/s: None
-
None
このSQLを実行するとする。
select * from employee where /*%if name != null*/ /*%if id != null*/ id = /*id*/99 /*%end*/ /*%end*/
ifコメントの条件が成立しない場合に次のように変形される。
select * from employee where
本来は次のようにならければいけない。
select * from employee