diff options
author | unknown <monty@donna.mysql.com> | 2000-10-05 01:00:36 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2000-10-05 01:00:36 +0300 |
commit | affe94dc80ac7e0eb8926ff02b25630582c3da00 (patch) | |
tree | f453103c3ed0bd73e54de2afb70d718fdc4c01ad /myisam | |
parent | 0ac3b21340562cd7d9a01ad57b94b378569bdcee (diff) | |
download | mariadb-git-affe94dc80ac7e0eb8926ff02b25630582c3da00.tar.gz |
Small fixes
configure.in:
Fix for mkstemp
libmysql/Makefile.shared:
Fix for mkstemp
myisam/mi_open.c:
Added more debug info
mysys/mf_tempfile.c:
Fixed type
sql/sql_repl.cc:
Added missing header file
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/mi_open.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/myisam/mi_open.c b/myisam/mi_open.c index f962d0485c8..cb19011fea7 100644 --- a/myisam/mi_open.c +++ b/myisam/mi_open.c @@ -178,6 +178,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags) ((share->state.changed & STATE_CRASHED) || (my_disable_locking && share->state.open_count))) { + DBUG_PRINT("error",("Table is marked as crashed")); my_errno=((share->state.changed & STATE_CRASHED_ON_REPAIR) ? HA_ERR_CRASHED_ON_REPAIR : HA_ERR_CRASHED); goto err; @@ -209,6 +210,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags) #elif !defined(USE_RAID) if (share->base.raid_type) { + DBUG_PRINT("error",("Table uses RAID but we don't have RAID support")); my_errno=HA_ERR_UNSUPPORTED; goto err; } @@ -219,6 +221,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags) if (share->base.max_key_length > MI_MAX_KEY_BUFF || keys > MI_MAX_KEY || key_parts >= MI_MAX_KEY * MI_MAX_KEY_SEG) { + DBUG_PRINT("error",("Wrong key info: Max_key_length: %d keys: %d key_parts: %d", share->base.max_key_length, keys, key_parts)); my_errno=HA_ERR_UNSUPPORTED; goto err; } |