mirror of
https://github.com/MariaDB/server.git
synced 2026-04-23 00:35:32 +02:00
Merge 10.1 into 10.2
This commit is contained in:
commit
226ca250ed
21 changed files with 141 additions and 82 deletions
|
|
@ -4616,7 +4616,7 @@ Item_cond::fix_fields(THD *thd, Item **ref)
|
|||
if (item->const_item() && !item->with_param &&
|
||||
!item->is_expensive() && !cond_has_datetime_is_null(item))
|
||||
{
|
||||
if (item->val_int() == is_and_cond && top_level())
|
||||
if (item->eval_const_cond() == is_and_cond && top_level())
|
||||
{
|
||||
/*
|
||||
a. This is "... AND true_cond AND ..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue