diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-06-22 22:14:25 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2020-07-04 01:44:47 +0200 |
commit | 6c52931680a4a24da04d7de7b74321d9ff507745 (patch) | |
tree | c43c268127eb8934bd92856811240ddcaa9a99b0 /storage/sphinx | |
parent | 4876651e0f4b2ee0e16b5f86c7f65464e6ac6906 (diff) | |
download | mariadb-git-6c52931680a4a24da04d7de7b74321d9ff507745.tar.gz |
replace HTON_AUTOMATIC_DELETE_TABLE with return -1 from drop_table()
Diffstat (limited to 'storage/sphinx')
-rw-r--r-- | storage/sphinx/ha_sphinx.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/sphinx/ha_sphinx.cc b/storage/sphinx/ha_sphinx.cc index 39e07290853..ca68a5feb60 100644 --- a/storage/sphinx/ha_sphinx.cc +++ b/storage/sphinx/ha_sphinx.cc @@ -749,8 +749,8 @@ static int sphinx_init_func ( void * p ) hton->close_connection = sphinx_close_connection; hton->show_status = sphinx_show_status; hton->panic = sphinx_panic; - hton->drop_table= [](handlerton *, const char*) { return 0; }; - hton->flags = HTON_CAN_RECREATE | HTON_AUTOMATIC_DELETE_TABLE; + hton->drop_table= [](handlerton *, const char*) { return -1; }; + hton->flags = HTON_CAN_RECREATE; #endif } SPH_RET(0); |