1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-25373 DROP TABLE doesn't raise error while dropping non-existing table in MariaDB 10.5.9 when OQGraph SE is loaded to the server

don't auto-succeed every DROP TABLE
This commit is contained in:
Sergei Golubchik
2021-12-29 13:53:19 +01:00
parent f18e25649d
commit 5af6a13771
4 changed files with 26 additions and 2 deletions

View File

@@ -262,7 +262,7 @@ static int example_init_func(void *p)
example_hton->table_options= example_table_option_list;
example_hton->field_options= example_field_option_list;
example_hton->tablefile_extensions= ha_example_exts;
example_hton->drop_table= [](handlerton *, const char*) { return 0; };
example_hton->drop_table= [](handlerton *, const char*) { return -1; };
DBUG_RETURN(0);
}