466
467
if ((save_binlog_row_based= thd->is_current_stmt_binlog_format_row()))
467
468
thd->clear_current_stmt_binlog_format_row();
472
table= open_ltable(thd, &tables, TL_WRITE, MYSQL_LOCK_IGNORE_TIMEOUT);
469
474
mysql_rwlock_wrlock(&THR_LOCK_udf);
470
476
if ((my_hash_search(&udf_hash,(uchar*) udf->name.str, udf->name.length)))
472
478
my_error(ER_UDF_EXISTS, MYF(0), udf->name.str);