summaryrefslogtreecommitdiff
path: root/myisam/mi_page.c
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2002-11-16 20:19:10 +0200
committermonty@mashka.mysql.fi <>2002-11-16 20:19:10 +0200
commit1a96948e81b079b1f84f98be9c6569e57f47a5a9 (patch)
tree9cac640546f7a1615d184835e8fea1d18456e4e5 /myisam/mi_page.c
parentaa67a7963266468927490cc3fc37089b721dc474 (diff)
downloadmariadb-git-1a96948e81b079b1f84f98be9c6569e57f47a5a9.tar.gz
Small improvement to alloc_root
Add support for LIMIT # OFFSET # Changed lock handling: Now all locks should be stored in TABLE_LIST instead of passed to functions. Don't call query_cache_invalidate() twice in some cases mysql_change_user() now clears states to be equal to close + connect. Fixed a bug with multi-table-update and multi-table-delete when used with LOCK TABLES Fixed a bug with replicate-do and UPDATE
Diffstat (limited to 'myisam/mi_page.c')
-rw-r--r--myisam/mi_page.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/myisam/mi_page.c b/myisam/mi_page.c
index 064e9239e73..1d40980e309 100644
--- a/myisam/mi_page.c
+++ b/myisam/mi_page.c
@@ -66,7 +66,9 @@ int _mi_write_keypage(register MI_INFO *info, register MI_KEYDEF *keyinfo,
page+keyinfo->block_length > info->state->key_file_length ||
(page & (MI_MIN_KEY_BLOCK_LENGTH-1)))
{
- DBUG_PRINT("error",("Trying to write inside key status region: %lu",
+ DBUG_PRINT("error",("Trying to write inside key status region: key_start: %lu length: %lu page: %lu",
+ (long) info->s->base.keystart,
+ (long) info->state->key_file_length,
(long) page));
my_errno=EINVAL;
return(-1);