summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <monty@work.mysql.com>2001-06-01 23:51:23 +0200
committerunknown <monty@work.mysql.com>2001-06-01 23:51:23 +0200
commit9f0b7b7cf7df027fbb3decb52033eb489fb32f05 (patch)
tree4c917b01d5598c1df213f3810dac420e5a21a8dd /myisam
parent14cc2b78626b2c39cf34efa81c0289e5626e25f9 (diff)
parent3e8412b89bd77cc72f16e020687713d916860d99 (diff)
downloadmariadb-git-9f0b7b7cf7df027fbb3decb52033eb489fb32f05.tar.gz
merge
BitKeeper/etc/logging_ok: auto-union include/my_sys.h: Auto merged myisam/myisamchk.c: Auto merged sql/share/portuguese/errmsg.txt: Auto merged sql/sql_table.cc: Auto merged
Diffstat (limited to 'myisam')
-rw-r--r--myisam/mi_check.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/myisam/mi_check.c b/myisam/mi_check.c
index 0aa9081e996..f52446e91cf 100644
--- a/myisam/mi_check.c
+++ b/myisam/mi_check.c
@@ -117,7 +117,9 @@ int chk_status(MI_CHECK *param, register MI_INFO *info)
mi_check_print_warning(param,
"%d clients is using or hasn't closed the table properly",
share->state.open_count);
- param->warning_printed=save;
+ /* If this will be fixed by the check, forget the warning */
+ if (param->testflag & T_UPDATE_STATE)
+ param->warning_printed=save;
}
return 0;
}