mariadb/mysql-test
marko 75fe6fa6a4 branches/zip: When creating an index in innodb_strict_mode, check that
the maximum record size will never exceed the B-tree page size limit.
For uncompressed tables, there should always be enough space for two
records in an empty B-tree page.  For compressed tables, there should
be enough space for storing two node pointer records or one data
record in an empty page in uncompressed format.

dict_build_table_def_step(): Remove the inaccurate check for table row
size.

dict_index_too_big_for_tree(): New function: check if the index
records would be too big for a B-tree page.

dict_index_add_to_cache(): Add the parameter "strict".  Invoke
dict_index_too_big_for_tree() if it is set.

trx_is_strict(), thd_is_strict(): New functions, for determining if
innodb_strict_mode is enabled for the current transaction.

dict_create_index_step(): Pass the new parameter strict of
dict_index_add_to_cache() as trx_is_strict(trx).  All other callers
pass it as FALSE.

innodb.test: Enable innodb_strict_mode before attempting to create a
table with a too big record size.

innodb-zip.test: Remove the test of inserting random data.  Add tests
for checking that the maximum record lengths are enforced at table
creation time.
2008-09-18 12:31:17 +00:00
..
patches branches/zip: 2008-06-19 06:59:36 +00:00
ctype_innodb_like.inc Import 5.0 code. 2005-10-27 07:29:40 +00:00
have_innodb.inc branches/zip: Merge 2295:2367 from branches/5.1. 2008-03-17 14:09:44 +00:00
innodb-analyze.result branches/zip: 2008-09-15 10:40:44 +00:00
innodb-analyze.test branches/zip: 2008-09-15 10:40:44 +00:00
innodb-autoinc.result branches/zip: 2008-09-09 12:00:34 +00:00
innodb-autoinc.test branches/zip: 2008-09-09 12:00:34 +00:00
innodb-index-master.opt branches/zip: Fast index creation: Remove the ROW_PREBUILT_OBSOLETE nonsense. 2007-12-17 15:49:59 +00:00
innodb-index.inc branches/zip: 2007-11-21 10:47:08 +00:00
innodb-index.result branches/zip: ha_innobase::prepare_drop_index(): When there is a 2008-09-09 11:05:56 +00:00
innodb-index.test branches/zip: ha_innobase::prepare_drop_index(): When there is a 2008-09-09 11:05:56 +00:00
innodb-index_ucs2.result branches/zip: 2007-11-21 11:23:05 +00:00
innodb-index_ucs2.test branches/zip: 2007-11-21 11:23:05 +00:00
innodb-lock.result Import 5.0 code. 2005-10-27 07:29:40 +00:00
innodb-lock.test branches/zip: Merge revisions 1322:1402 from trunk. 2007-04-02 05:39:41 +00:00
innodb-master.opt branches/zip: Merge revisions 265:459 from trunk. 2006-04-12 09:32:17 +00:00
innodb-replace.result branches/zip: Merge 2489:2524 from branches/5.1: 2008-07-01 06:53:40 +00:00
innodb-replace.test branches/zip: Merge 2489:2524 from branches/5.1: 2008-07-01 06:53:40 +00:00
innodb-semi-consistent-master.opt branches/zip: Merge 1937:2015 from trunk. 2007-10-24 10:59:54 +00:00
innodb-semi-consistent.result branches/zip: Merge 2236:2263 from branches/5.1. 2008-01-28 15:54:46 +00:00
innodb-semi-consistent.test branches/zip: Merge 2236:2263 from branches/5.1. 2008-01-28 15:54:46 +00:00
innodb-zip.result branches/zip: When creating an index in innodb_strict_mode, check that 2008-09-18 12:31:17 +00:00
innodb-zip.test branches/zip: When creating an index in innodb_strict_mode, check that 2008-09-18 12:31:17 +00:00
innodb.result branches/zip: When creating an index in innodb_strict_mode, check that 2008-09-18 12:31:17 +00:00
innodb.test branches/zip: When creating an index in innodb_strict_mode, check that 2008-09-18 12:31:17 +00:00
innodb_bug34053.result branches/zip: Merge 2263:2295 from branches/5.1. 2008-02-18 20:09:03 +00:00
innodb_bug34053.test branches/zip: Merge 2295:2367 from branches/5.1. 2008-03-17 14:09:44 +00:00
innodb_bug34300.result branches/zip: Merge 2367:2384 from branches/5.1. 2008-03-26 17:14:00 +00:00
innodb_bug34300.test branches/zip: Merge 2367:2384 from branches/5.1. 2008-03-26 17:14:00 +00:00
innodb_bug35220.result branches/zip: Merge 2367:2384 from branches/5.1. 2008-03-26 17:14:00 +00:00
innodb_bug35220.test branches/zip: Merge 2367:2384 from branches/5.1. 2008-03-26 17:14:00 +00:00
innodb_bug36169.result branches/zip: 2008-04-23 05:45:19 +00:00
innodb_bug36169.test branches/zip: Drop the tables that were created in the test. 2008-05-04 09:39:30 +00:00
innodb_bug36172.result branches/zip: Fix bug# 36172. The zip code changes a precondition that a 2008-05-08 10:08:09 +00:00
innodb_bug36172.test branches/zip: Prevent infinite B-tree page splits by ensuring that 2008-09-17 06:23:52 +00:00
innodb_information_schema.result branches/zip: 2007-11-21 12:01:36 +00:00
innodb_information_schema.test branches/zip: INFORMATION_SCHEMA.INNODB_LOCKS: Quote lock_table, lock_index. 2007-11-21 08:46:11 +00:00
innodb_trx_weight.inc branches/zip: Merge 1553:1556 from trunk. 2007-06-08 07:05:17 +00:00
innodb_trx_weight.result branches/zip: Merge 1493:1533 from trunk. 2007-05-29 08:48:16 +00:00
innodb_trx_weight.test branches/zip: Merge 1575:1664 from trunk. 2007-08-01 11:18:43 +00:00