mariadb/mysql-test
marko 6378cae6bb branches/zip: Prevent infinite B-tree page splits by ensuring that
there will always be enough space for two node pointer records in an
empty B-tree page.  This was reported as Mantis issue #73.

page_zip_rec_needs_ext(): Add the parameter n_fields, for accurate
estimation of the compressed size of the data dictionary information.
Given that this function is only invoked for records on leaf pages,
require that there be enough space for one record in the compressed
page.  We check elsewhere that there will be enough room for two node
pointer records on higher-level pages.

btr_cur_optimistic_insert(): Ensure that there will be enough room for
two node pointer records on an empty non-leaf page.  The rule for
leaf-page records will be enforced by the callers of
page_zip_rec_needs_ext().

btr_cur_pessimistic_insert(): Remove the insufficient check that the
leaf page record should be compressible by itself.  Instead, now we
require that two node pointer records fit on a non-leaf page, and one
record will fit in uncompressed form on the leaf page.

page_zip_write_header(), page_zip_write_rec(): Re-enable the debug
assertions that were violated by the insufficient check in
btr_cur_pessimistic_insert().

innodb_bug36172.test: Use a larger compressed page size.
2008-09-17 06:23:52 +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: The test for issue#36 assumed that AUTOCOMMIT=OFF. Add an 2008-07-21 08:43:54 +00:00
innodb-zip.test branches/zip: The test for issue#36 assumed that AUTOCOMMIT=OFF. Add an 2008-07-21 08:43:54 +00:00
innodb.result branches/zip: 2008-09-09 12:00:34 +00:00
innodb.test branches/zip: Merge 2384:2423 from branches/5.1: 2008-04-30 05:42:56 +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