summaryrefslogtreecommitdiff
path: root/storage/pbxt
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2011-02-25 17:45:53 +0200
committerMichael Widenius <monty@askmonty.org>2011-02-25 17:45:53 +0200
commitd46aee702ed79cf536f9fcb1dce68db8ab8b111f (patch)
treeb002cc385739378d6d51feb1afcc263efc3d810a /storage/pbxt
parent07b5d554ee62543cea0dc5bb36883446b9dcaa4a (diff)
downloadmariadb-git-d46aee702ed79cf536f9fcb1dce68db8ab8b111f.tar.gz
Fixed compiler and build error:
- Fixed main.mysqlcheck error on windows - Fixed 'can't drop database pbxt' failure when running pbxt.mysqlslap sql/table.cc: When using not legal file names for checking a non existing table, one got a warning in the log file which caused mysql.mysqlcheck to fail storage/innodb_plugin/row/row0upd.c: Fixed compiler warning storage/pbxt/src/table_xt.cc: Remove table that is dropped from 'repair-pending'. Fixed 'can't drop database pbxt' failure when running pbxt.mysqlslap
Diffstat (limited to 'storage/pbxt')
-rw-r--r--storage/pbxt/src/table_xt.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/pbxt/src/table_xt.cc b/storage/pbxt/src/table_xt.cc
index a9fec660697..30b844a9184 100644
--- a/storage/pbxt/src/table_xt.cc
+++ b/storage/pbxt/src/table_xt.cc
@@ -1755,6 +1755,8 @@ xtPublic void xt_drop_table(XTThreadPtr self, XTPathStrPtr tab_name, xtBool drop
tab_close_mapped_files(self, tab);
tab_delete_table_files(self, tab_name, tab_id);
+ /* Remove table from "repair-pending" */
+ xt_tab_table_repaired(tab);
ASSERT(xt_get_self() == self);
if ((te_ptr = (XTTableEntryPtr) xt_sl_find(self, db->db_table_by_id, &tab_id))) {