Commit 999c1cdc authored by evgen@moonbone.local's avatar evgen@moonbone.local

sql_select.cc:

  Postfix for bug#22331 for windows platform.
explain.test, explain.result:
  Cleanup after bugfix#22331.
parent 8936e53f
......@@ -85,4 +85,5 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 system NULL NULL NULL NULL 1
Warnings:
Note 1003 select `test`.`t1`.`f1` AS `f1`,`test`.`t1`.`f2` AS `f2` from `test`.`t1` having 1
drop view v1;
drop table t1;
......@@ -63,6 +63,7 @@ explain extended select * from t1 where 0;
explain extended select * from t1 where 1;
explain extended select * from t1 having 0;
explain extended select * from t1 having 1;
drop view v1;
drop table t1;
# End of 5.0 tests.
......@@ -7622,7 +7622,7 @@ static COND* substitute_for_best_equal_field(COND *cond,
}
}
if (!((Item_cond*)cond)->argument_list()->elements)
cond= new Item_int(cond->val_bool());
cond= new Item_int((int32)cond->val_bool());
}
else if (cond->type() == Item::FUNC_ITEM &&
......
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