diff options
author | istruewing@chilla.local <> | 2006-10-09 20:03:12 +0200 |
---|---|---|
committer | istruewing@chilla.local <> | 2006-10-09 20:03:12 +0200 |
commit | c299de14eeff5b26ba94fd0caad897ccaf5b9d66 (patch) | |
tree | ddc4b70cec5efe547e1b808aa7e197604f09e845 /myisam/mi_open.c | |
parent | 083048683699c7a835ebd3f08e3e538af1d7c266 (diff) | |
parent | 1daa6a710d6c8cf8ce9760a2726bfc2c46c2e52d (diff) | |
download | mariadb-git-c299de14eeff5b26ba94fd0caad897ccaf5b9d66.tar.gz |
Merge chilla.local:/home/mydev/mysql-4.1-bug8283-one
into chilla.local:/home/mydev/mysql-5.0-bug8283
Diffstat (limited to 'myisam/mi_open.c')
-rw-r--r-- | myisam/mi_open.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/myisam/mi_open.c b/myisam/mi_open.c index 955d55cf765..a52ab5aad1f 100644 --- a/myisam/mi_open.c +++ b/myisam/mi_open.c @@ -208,7 +208,10 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags) ((open_flags & HA_OPEN_ABORT_IF_CRASHED) && (my_disable_locking && share->state.open_count)))) { - DBUG_PRINT("error",("Table is marked as crashed")); + DBUG_PRINT("error",("Table is marked as crashed. open_flags: %u " + "changed: %u open_count: %u !locking: %d", + open_flags, share->state.changed, + share->state.open_count, my_disable_locking)); my_errno=((share->state.changed & STATE_CRASHED_ON_REPAIR) ? HA_ERR_CRASHED_ON_REPAIR : HA_ERR_CRASHED_ON_USAGE); goto err; |