summaryrefslogtreecommitdiff
path: root/myisam/mi_panic.c
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-09-20 04:54:10 +0300
committermonty@donna.mysql.com <>2000-09-20 04:54:10 +0300
commitdc4525636ce2912fb9a455503260760621e2eb46 (patch)
tree9809b1ec91af01ed8cc76e542fe1a102e239d9b1 /myisam/mi_panic.c
parentf2f515e5c2733dfe95471640ff740d0f936579b9 (diff)
downloadmariadb-git-dc4525636ce2912fb9a455503260760621e2eb46.tar.gz
Small bug fixes + code for DELETE QUICK
Diffstat (limited to 'myisam/mi_panic.c')
-rw-r--r--myisam/mi_panic.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/myisam/mi_panic.c b/myisam/mi_panic.c
index ae149df3ffe..92fc6f3695c 100644
--- a/myisam/mi_panic.c
+++ b/myisam/mi_panic.c
@@ -14,7 +14,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-#include "myisamdef.h"
+#include "fulltext.h"
/* if flag == HA_PANIC_CLOSE then all misam files are closed */
/* if flag == HA_PANIC_WRITE then all misam files are unlocked and
@@ -103,7 +103,10 @@ int mi_panic(enum ha_panic_function flag)
}
}
if (flag == HA_PANIC_CLOSE)
+ {
VOID(mi_log(0)); /* Close log if neaded */
+ ft_free_stopwords();
+ }
pthread_mutex_unlock(&THR_LOCK_myisam);
if (!error)
DBUG_RETURN(0);