1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

don't use session locale for the error log

This commit is contained in:
Sergei Golubchik
2024-05-21 21:04:41 +02:00
parent 9cb0bb1de0
commit aebd16201f
11 changed files with 16 additions and 18 deletions

View File

@ -1962,7 +1962,7 @@ static void plugin_load(MEM_ROOT *tmp_root)
mysql_mutex_unlock(&LOCK_plugin);
}
if (unlikely(error > 0))
sql_print_error(ER_THD(new_thd, ER_GET_ERRNO), my_errno,
sql_print_error(ER_DEFAULT(ER_GET_ERRNO), my_errno,
table->file->table_type());
end_read_record(&read_record_info);
table->mark_table_for_reopen();