summaryrefslogtreecommitdiff
path: root/myisam/mi_open.c
diff options
context:
space:
mode:
authortsmith/tim@siva.hindu.god <>2006-10-24 14:42:08 -0600
committertsmith/tim@siva.hindu.god <>2006-10-24 14:42:08 -0600
commit3af2089b13da95ed95f8afa1679e6e10a485815c (patch)
treef6b3ce247f0c1b8d045348dca4533d282d470935 /myisam/mi_open.c
parent4bd1021a034502878c06b676067ec0a70ba20654 (diff)
parent837746340e890fb65a9606f26988d2789db755d5 (diff)
downloadmariadb-git-3af2089b13da95ed95f8afa1679e6e10a485815c.tar.gz
Merge siva.hindu.god:/usr/home/tim/m/bk/g50
into siva.hindu.god:/usr/home/tim/m/bk/50
Diffstat (limited to 'myisam/mi_open.c')
-rw-r--r--myisam/mi_open.c5
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;