1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

fixed using 'uncachable' tag and RAND_TABLE_BIT setting

sql/item_create.cc:
  specify cause of uncachability
sql/item_func.cc:
  specify cause of uncachability
sql/item_subselect.cc:
  fixed setting RAND_TABLE_BIT
  specify cause of uncachability
sql/item_subselect.h:
  used one field for all uncachability causes
sql/mysql_priv.h:
  causes of uncachability
sql/sql_lex.cc:
  specify cause of uncachability
sql/sql_lex.h:
  used one field for all uncachability causes
sql/sql_select.cc:
  used one field for all uncachability causes
sql/sql_union.cc:
  used one field for all uncachability causes
sql/sql_yacc.yy:
  specify cause of uncachability
This commit is contained in:
unknown
2003-11-17 20:53:40 +02:00
parent 8fed6653de
commit 79533975b1
10 changed files with 62 additions and 60 deletions

View File

@@ -249,11 +249,11 @@ int st_select_lex_unit::exec()
ulonglong add_rows=0;
DBUG_ENTER("st_select_lex_unit::exec");
if (executed && !(dependent || uncacheable))
if (executed && !uncacheable)
DBUG_RETURN(0);
executed= 1;
if ((dependent || uncacheable) || !item || !item->assigned())
if (uncacheable || !item || !item->assigned())
{
if (optimized && item && item->assigned())
{