diff options
author | unknown <bell@sanja.is.com.ua> | 2003-11-17 20:53:40 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2003-11-17 20:53:40 +0200 |
commit | 79533975b1453a716dce3a4b3936740ee22d92d9 (patch) | |
tree | ed274b7466c7617feeb74030a1c60751ff018af5 /sql/item_create.cc | |
parent | 8fed6653de2c298704f9ee74f96f17184af46b45 (diff) | |
download | mariadb-git-79533975b1453a716dce3a4b3936740ee22d92d9.tar.gz |
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
Diffstat (limited to 'sql/item_create.cc')
-rw-r--r-- | sql/item_create.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/item_create.cc b/sql/item_create.cc index 0195f0c24bc..c46696dfabf 100644 --- a/sql/item_create.cc +++ b/sql/item_create.cc @@ -159,7 +159,7 @@ Item *create_func_from_days(Item* a) Item *create_func_get_lock(Item* a, Item *b) { - current_thd->lex.uncacheable(); + current_thd->lex.uncacheable(UNCACHEABLE_UNCACHEABLE); return new Item_func_get_lock(a, b); } @@ -324,7 +324,7 @@ Item *create_func_radians(Item *a) Item *create_func_release_lock(Item* a) { - current_thd->lex.uncacheable(); + current_thd->lex.uncacheable(UNCACHEABLE_UNCACHEABLE); return new Item_func_release_lock(a); } @@ -445,7 +445,7 @@ Item *create_func_year(Item* a) Item *create_load_file(Item* a) { - current_thd->lex.uncacheable(); + current_thd->lex.uncacheable(UNCACHEABLE_UNCACHEABLE); return new Item_load_file(a); } @@ -472,13 +472,13 @@ Item *create_func_cast(Item *a, Cast_target cast_type, int len, Item *create_func_is_free_lock(Item* a) { - current_thd->lex.uncacheable(); + current_thd->lex.uncacheable(UNCACHEABLE_UNCACHEABLE); return new Item_func_is_free_lock(a); } Item *create_func_is_used_lock(Item* a) { - current_thd->lex.uncacheable(); + current_thd->lex.uncacheable(UNCACHEABLE_UNCACHEABLE); return new Item_func_is_used_lock(a); } |