mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 02:30:06 +01:00
sql_select.cc:
Postfix for bug#22331 for windows platform. explain.test, explain.result: Cleanup after bugfix#22331.
This commit is contained in:
parent
8936e53fca
commit
999c1cdcc1
3 changed files with 3 additions and 1 deletions
|
@ -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 &&
|
||||
|
|
Loading…
Add table
Reference in a new issue