Bug #28897 UUID() returns non-unique values when query cache is enabled
Removed the ability to cache queries with UUID() and UUID_SHORT(). sql/item_create.cc: Removed the ability to cache queries with UUID() and UUID_SHORT().
This commit is contained in:
parent
8c617a3b01
commit
442adbb2e4
@ -4542,6 +4542,7 @@ Item*
|
||||
Create_func_uuid::create(THD *thd)
|
||||
{
|
||||
thd->lex->binlog_row_based_if_mixed= TRUE;
|
||||
thd->lex->safe_to_cache_query= 0;
|
||||
return new (thd->mem_root) Item_func_uuid();
|
||||
}
|
||||
|
||||
@ -4552,6 +4553,7 @@ Item*
|
||||
Create_func_uuid_short::create(THD *thd)
|
||||
{
|
||||
thd->lex->binlog_row_based_if_mixed= TRUE;
|
||||
thd->lex->safe_to_cache_query= 0;
|
||||
return new (thd->mem_root) Item_func_uuid_short();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user