mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.1-new-rpl
into mysql.com:/nfsdisk1/lars/MERGE/mysql-5.1-merge
This commit is contained in:
@ -2354,7 +2354,7 @@ Create_udf_func::create(THD *thd, udf_func *udf, List<Item> *item_list)
|
||||
if (item_list != NULL)
|
||||
arg_count= item_list->elements;
|
||||
|
||||
thd->lex->binlog_row_based_if_mixed= TRUE;
|
||||
thd->lex->set_stmt_unsafe();
|
||||
|
||||
DBUG_ASSERT( (udf->type == UDFTYPE_FUNCTION)
|
||||
|| (udf->type == UDFTYPE_AGGREGATE));
|
||||
@ -4541,7 +4541,7 @@ Create_func_uuid Create_func_uuid::s_singleton;
|
||||
Item*
|
||||
Create_func_uuid::create(THD *thd)
|
||||
{
|
||||
thd->lex->binlog_row_based_if_mixed= TRUE;
|
||||
thd->lex->set_stmt_unsafe();
|
||||
thd->lex->safe_to_cache_query= 0;
|
||||
return new (thd->mem_root) Item_func_uuid();
|
||||
}
|
||||
@ -4552,8 +4552,8 @@ Create_func_uuid_short Create_func_uuid_short::s_singleton;
|
||||
Item*
|
||||
Create_func_uuid_short::create(THD *thd)
|
||||
{
|
||||
thd->lex->binlog_row_based_if_mixed= TRUE;
|
||||
thd->lex->safe_to_cache_query= 0;
|
||||
thd->lex->set_stmt_unsafe();
|
||||
thd->lex->safe_to_cache_query= 0;
|
||||
return new (thd->mem_root) Item_func_uuid_short();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user