diff options
author | unknown <monty@donna.mysql.com> | 2000-12-05 03:00:31 +0200 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2000-12-05 03:00:31 +0200 |
commit | e2e18535ad74aca17c03c3c465cbd99b348d4c49 (patch) | |
tree | fbf31f212931d0d73137cbc1322b0a3a0b20a116 /sql/ha_myisam.cc | |
parent | 17d0ffd9663411df9f5d03a2f9d09f84e2593915 (diff) | |
download | mariadb-git-e2e18535ad74aca17c03c3c465cbd99b348d4c49.tar.gz |
New error messages
Fix for creating read-only files on windows
Manual updates
BitKeeper/deleted/.del-acconfig.h~65f1202b3b5c345f:
***MISSING WEAVE***
BitKeeper/deleted/.del-acconfig.h~7b620dbd69ea6074:
***MISSING WEAVE***
Docs/manual.texi:
Small clarifications
BitKeeper/etc/ignore:
Added Docs/manual.aux Docs/manual.cp Docs/manual.cps Docs/manual.dvi Docs/manual.fn Docs/manual.fns Docs/manual.ky Docs/manual.pg Docs/manual.toc Docs/manual.tp Docs/manual.vr Docs/manual_a4.ps Docs/manual_letter.ps to the ignore list
mysql-test/chew_on_this/select.res:
***MISSING WEAVE***
mysys/my_open.c:
Fix for windows where some files where created read only
sql/ha_myisam.cc:
Added 'checking table' to process-list status
sql/opt_range.cc:
Cleanup
sql/share/czech/errmsg.sys:
New error messages
sql/share/czech/errmsg.txt:
New error messages
sql/share/italian/errmsg.sys:
New error messages
sql/share/italian/errmsg.txt:
New error messages
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r-- | sql/ha_myisam.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc index 223e14b06c7..860418a3fe4 100644 --- a/sql/ha_myisam.cc +++ b/sql/ha_myisam.cc @@ -236,10 +236,12 @@ int ha_myisam::write_row(byte * buf) int ha_myisam::check(THD* thd, HA_CHECK_OPT* check_opt) { if (!file) return HA_ADMIN_INTERNAL_ERROR; - int error ; + int error; MI_CHECK param; MYISAM_SHARE* share = file->s; + const char *old_proc_info=thd->proc_info; + thd->proc_info="Checking table"; myisamchk_init(¶m); param.thd = thd; param.op_name = (char*)"check"; @@ -306,6 +308,7 @@ int ha_myisam::check(THD* thd, HA_CHECK_OPT* check_opt) } check_opt->retry_without_quick=param.retry_without_quick; + thd->proc_info=old_proc_info; return error ? HA_ADMIN_CORRUPT : HA_ADMIN_OK; } |