mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
used item method (Bug #3686)
This commit is contained in:
@ -367,8 +367,7 @@ JOIN::prepare(Item ***rref_pointer_array,
|
|||||||
{
|
{
|
||||||
if (item->with_sum_func)
|
if (item->with_sum_func)
|
||||||
flag|=1;
|
flag|=1;
|
||||||
else if (!(flag & 2) &&
|
else if (!(flag & 2) && !item->const_during_execution())
|
||||||
test(item->used_tables() & ~PARAM_TABLE_BIT))
|
|
||||||
flag|=2;
|
flag|=2;
|
||||||
}
|
}
|
||||||
if (flag == 3)
|
if (flag == 3)
|
||||||
|
Reference in New Issue
Block a user