diff options
author | unknown <istruewing@chilla.local> | 2006-10-09 20:03:12 +0200 |
---|---|---|
committer | unknown <istruewing@chilla.local> | 2006-10-09 20:03:12 +0200 |
commit | 91be4f6f0c0771bc18f46dfd63e01b116ec7cf62 (patch) | |
tree | ddc4b70cec5efe547e1b808aa7e197604f09e845 /myisam/mi_open.c | |
parent | 9397becc6d9c5af98ba1fd89a699b389d83a91c3 (diff) | |
parent | 679b5848f3af7e1833385ef20d099dfde277b8c0 (diff) | |
download | mariadb-git-91be4f6f0c0771bc18f46dfd63e01b116ec7cf62.tar.gz |
Merge chilla.local:/home/mydev/mysql-4.1-bug8283-one
into chilla.local:/home/mydev/mysql-5.0-bug8283
include/my_sys.h:
Auto merged
include/myisam.h:
Auto merged
myisam/mi_check.c:
Auto merged
myisam/mi_open.c:
Auto merged
myisam/mi_packrec.c:
Auto merged
myisam/sort.c:
Auto merged
mysql-test/t/myisam.test:
Auto merged
myisam/myisamdef.h:
Bug#8283 - OPTIMIZE TABLE causes data loss
Merge from 4.1
mysql-test/r/myisam.result:
Bug#8283 - OPTIMIZE TABLE causes data loss
Merge from 4.1
mysys/mf_iocache.c:
Bug#8283 - OPTIMIZE TABLE causes data loss
Merge from 4.1
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; |