We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20611c8 commit ae69ac2Copy full SHA for ae69ac2
plugin/type_uuid/plugin.cc
@@ -150,7 +150,7 @@ class Create_func_uuid_v4 : public Create_func_arg0
150
{
151
DBUG_ENTER("Create_func_uuid_v4::create");
152
thd->lex->set_stmt_unsafe(LEX::BINLOG_STMT_UNSAFE_SYSTEM_FUNCTION);
153
- thd->lex->safe_to_cache_query= 0;
+ thd->lex->uncacheable(UNCACHEABLE_RAND);
154
DBUG_RETURN(new (thd->mem_root) Item_func_uuid_v4(thd));
155
}
156
static Create_func_uuid_v4 s_singleton;
@@ -241,4 +241,4 @@ maria_declare_plugin(type_uuid)
241
"1.0", // String version representation
242
MariaDB_PLUGIN_MATURITY_EXPERIMENTAL// Maturity(see include/mysql/plugin.h)*/
243
244
-maria_declare_plugin_end;
+maria_declare_plugin_end;
0 commit comments