summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2022-03-17 19:37:51 +0200
committerMonty <monty@mariadb.org>2022-03-18 17:16:50 +0200
commita240eb916e9000f1a59687a586c3a12901720637 (patch)
tree60c99d67409b5b5e040a36088308b45e2fcb9f21 /sql/handler.cc
parentdf0124952466f71c70bdd55e36fa085878138db4 (diff)
downloadmariadb-git-10.2-force_drop.tar.gz
Last sync of functions for drop table between 10.2 and 10.710.2-force_drop
Functions checked / synced between 10.2 and 10.7: handler.cc ha_delete_table() int handler::delete_table(const char *name) static my_bool delete_table_force(THD *thd, plugin_ref plugin, void *arg); int ha_delete_table_force(THD *thd, const char *path, const LEX_CSTRING *db, const LEX_CSTRING *alias); sql_table.cc mysql_rm_table_no_locks() - Things related to drop force synced Usage of ha_delete_table()
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index 87a0566e49c..ad42cb324ab 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -2535,7 +2535,8 @@ int ha_delete_table(THD *thd, handlerton *hton, const char *path,
error= -1;
}
}
-
+ if (error)
+ DBUG_PRINT("exit", ("error: %d", error));
DBUG_RETURN(error);
}