summaryrefslogtreecommitdiff
path: root/sql/item_create.cc
diff options
context:
space:
mode:
authordkatz@damien-katzs-computer.local <>2007-06-13 14:23:25 -0400
committerdkatz@damien-katzs-computer.local <>2007-06-13 14:23:25 -0400
commit1481bfc87bfd178a1fd5526bfdb5b86d4c41bb32 (patch)
tree40ae8cd14ebfab90c4b1fcdfa663fb60431fe971 /sql/item_create.cc
parentda33797903f52468af35e8f2f50e1ae35164a10a (diff)
downloadmariadb-git-1481bfc87bfd178a1fd5526bfdb5b86d4c41bb32.tar.gz
Bug #28897 UUID() returns non-unique values when query cache is enabled
Removed the ability to cache queries containing "UUID()".
Diffstat (limited to 'sql/item_create.cc')
-rw-r--r--sql/item_create.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_create.cc b/sql/item_create.cc
index c4008d36aae..42cbdc8c280 100644
--- a/sql/item_create.cc
+++ b/sql/item_create.cc
@@ -418,6 +418,7 @@ Item *create_func_unhex(Item* a)
Item *create_func_uuid(void)
{
+ current_thd->lex->safe_to_cache_query= 0;
return new Item_func_uuid();
}