From 5af6a13771db658d16b94b648563b37f5dbcab16 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Wed, 29 Dec 2021 13:53:19 +0100 Subject: 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 --- storage/example/ha_example.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storage/example/ha_example.cc') diff --git a/storage/example/ha_example.cc b/storage/example/ha_example.cc index 30484a41087..eaa3e51ca67 100644 --- a/storage/example/ha_example.cc +++ b/storage/example/ha_example.cc @@ -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); } -- cgit v1.2.1