diff options
author | heikki@donna.mysql.fi <> | 2002-02-04 23:55:41 +0200 |
---|---|---|
committer | heikki@donna.mysql.fi <> | 2002-02-04 23:55:41 +0200 |
commit | aea3c07139ca98294ee847f11310963e9c16f861 (patch) | |
tree | 8afb00e0a5c01501d06fda6b055c26e219075b91 /innobase/fil | |
parent | 9c86441ef63023be60427f57184d466468994f73 (diff) | |
download | mariadb-git-aea3c07139ca98294ee847f11310963e9c16f861.tar.gz |
Many files:
Small improvements
row0mysql.c:
Small improvements + fix the ALTER TABLE problem by introducing a lazy drop table it can use
ha_innobase.cc:
Some fine-tuning of optimization
Diffstat (limited to 'innobase/fil')
-rw-r--r-- | innobase/fil/fil0fil.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/innobase/fil/fil0fil.c b/innobase/fil/fil0fil.c index 62389c8394c..138f1a78985 100644 --- a/innobase/fil/fil0fil.c +++ b/innobase/fil/fil0fil.c @@ -1088,7 +1088,15 @@ loop: node = UT_LIST_GET_FIRST(space->chain); for (;;) { - ut_a(node); + if (node == NULL) { + fprintf(stderr, + "InnoDB: Error: trying to access page number %lu in space %lu\n" + "InnoDB: which is outside the tablespace bounds.\n" + "InnoDB: Byte offset %lu, len %lu, i/o type %lu\n", + block_offset, space_id, byte_offset, len, type); + + ut_a(0); + } if (node->size > block_offset) { /* Found! */ |