Commit 1631f65d authored by unknown's avatar unknown

sql_select.cc:

  Postfix for bug#22331 for windows platform.
explain.test, explain.result:
  Cleanup after bugfix#22331.


mysql-test/t/explain.test:
  Cleanup after bugfix#22331.
mysql-test/r/explain.result:
  Cleanup after bugfix#22331.
sql/sql_select.cc:
  Postfix for bug#22331 for windows platform.
parent d7738740
......@@ -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