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

Make "SET @@rocksdb_bulk_load=0" return an error instead of crashing the server

- This is more in line with MariaDB environment
- And help with rocksdb.bulk_load_errors test, too
This commit is contained in:
Sergei Petrunia
2017-08-03 15:16:40 +00:00
parent fcb8d8e598
commit eda033255a
4 changed files with 30 additions and 15 deletions

View File

@ -4821,7 +4821,8 @@ end_with_restore_list:
goto error;
if (!(res= sql_set_variables(thd, lex_var_list, true)))
{
my_ok(thd);
if (!thd->is_error())
my_ok(thd);
}
else
{