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 /sql/temporary_tables.cc | |
parent | 4876651e0f4b2ee0e16b5f86c7f65464e6ac6906 (diff) | |
download | mariadb-git-6c52931680a4a24da04d7de7b74321d9ff507745.tar.gz |
replace HTON_AUTOMATIC_DELETE_TABLE with return -1 from drop_table()
Diffstat (limited to 'sql/temporary_tables.cc')
-rw-r--r-- | sql/temporary_tables.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/temporary_tables.cc b/sql/temporary_tables.cc index 6a507b99ef6..1a8b5c471bd 100644 --- a/sql/temporary_tables.cc +++ b/sql/temporary_tables.cc @@ -700,7 +700,7 @@ bool THD::rm_temporary_table(handlerton *base, const char *path) if (mysql_file_delete(key_file_frm, frm_path, MYF(MY_WME | MY_IGNORE_ENOENT))) error= true; - if (base->drop_table(base, path)) + if (base->drop_table(base, path) > 0) { error= true; sql_print_warning("Could not remove temporary table: '%s', error: %d", |