1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

5.1-bugteam->trunk-merge merge

This commit is contained in:
Sergey Glukhov
2010-06-08 10:47:23 +04:00
3 changed files with 31 additions and 2 deletions

View File

@ -1324,8 +1324,8 @@ public:
else
{
args[0]->update_used_tables();
if ((const_item_cache= !(used_tables_cache= args[0]->used_tables())) &&
!with_subselect)
if ((const_item_cache= !(used_tables_cache= args[0]->used_tables()) &&
!with_subselect))
{
/* Remember if the value is always NULL or never NULL */
cached_value= (longlong) args[0]->is_null();