mariadb/mysql-test/suite/maria/r
Michael Widenius bb55791994 Added some changes inspired by Zardosht Kasheff:
- Added a handler call (prepare_index_scan()) to inform storage engines that an index scan is about to take place.
- Extended the maximun key parts for an index from 16 to 32
- Extended MyISAM and Maria engines to support up to 32 parts

Added checks for return value from ha_index_init()



include/my_handler.h:
  Extended number of key parts for MyISAM and Maria from 16 to 32
include/my_pthread.h:
  Ensure we always have 256M of stack.
  (Required to be able to handle the current number of keys and key parts in MyISAM)
mysql-test/r/create.result:
  Extended to test for 32 key parts
mysql-test/r/myisam.result:
  Test that we can create 32 but not 33 key parts
mysql-test/r/ps_1general.result:
  Length of ref is now 2048 as we can have more key parts
mysql-test/r/ps_2myisam.result:
  Length of ref is now 2048 as we can have more key parts
mysql-test/r/ps_3innodb.result:
  Length of ref is now 2048 as we can have more key parts
mysql-test/r/ps_4heap.result:
  Length of ref is now 2048 as we can have more key parts
mysql-test/r/ps_5merge.result:
  Length of ref is now 2048 as we can have more key parts
mysql-test/suite/maria/r/maria.result:
  Max key length is now 1208 bytes
mysql-test/suite/maria/r/maria3.result:
  Max key length is now 1208 bytes
mysql-test/suite/maria/r/ps_maria.result:
  Max key length is now 1208 byte
mysql-test/t/create.test:
  Extended to test for 32 key parts
mysql-test/t/myisam.test:
  Test that we can create 32 but not 33 key parts
sql/handler.cc:
  Check return value from ha_index_init()
sql/handler.h:
  Added a handler call (prepare_index_scan()) to inform storage engines that an index scan is about to take place.
sql/sql_select.cc:
  Checks all return values from ha_index_init()
  Call prepare_index_scan()) to inform storage engines that an index scan is about to take place.
  Fixed indentation
sql/table.cc:
  Fixed wrong types for key_length (rest of code assumed this was 32 bit)
sql/unireg.h:
  Extended the maximun key parts for an index from 16 to 32
storage/maria/ha_maria.cc:
  Don't allocate HA_CHECK on the stack in functions where we call repair() as HA_CHECK is HUGE and will overflow stack
storage/myisam/ha_myisam.cc:
  Don't allocate HA_CHECK on the stack in functions where we call repair() as HA_CHECK is HUGE and will overflow stack
storage/myisam/mi_check.c:
  Fixed wrong check if value overflow
tests/mysql_client_test.c:
  Added fflush() to fix output in case of error
  Fixed wrong check of 'ref' length in EXPLAIN
2009-06-30 00:03:30 +03:00
..
maria-autozerofill.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-big.result merge of 5.1-main into 5.1-maria. Myisam->Maria change propagation will follow. 2009-02-12 15:08:56 +01:00
maria-big2.result Merge with base MySQL 5.1 2009-02-15 12:58:34 +02:00
maria-connect.result merge of 5.1-main into 5.1-maria. Myisam->Maria change propagation will follow. 2009-02-12 15:08:56 +01:00
maria-gis-rtree-dynamic.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-gis-rtree-trans.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-gis-rtree.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-mvcc.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-no-logging.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-page-checksum.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-partitioning.result merge of 5.1-main into 5.1-maria. Myisam->Maria change propagation will follow. 2009-02-12 15:08:56 +01:00
maria-preload.result merge of 5.1-main into 5.1-maria. MyISAM changes are propagated to Maria except 2009-04-01 11:34:52 +02:00
maria-purge.result Merge with base MySQL 5.1 2009-02-15 12:58:34 +02:00
maria-recover.result Merge with base MySQL 5.1 2009-02-15 12:58:34 +02:00
maria-recovery-big.result Fix for BUG#42012 "Maria: test maria-recovery2 fails with --embedded" and for simple failures 2009-01-15 15:29:14 +01:00
maria-recovery-bitmap.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-recovery-rtree-ft.result Merge with base MySQL 5.1 2009-02-15 12:58:34 +02:00
maria-recovery.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-recovery2.result merge of 5.1-main into 5.1-maria. Myisam->Maria change propagation will follow. 2009-02-12 15:08:56 +01:00
maria-recovery3.result Merge with base MySQL 5.1 2009-02-15 12:58:34 +02:00
maria.result Added some changes inspired by Zardosht Kasheff: 2009-06-30 00:03:30 +03:00
maria2.result Merge with base MySQL 5.1 2009-02-15 12:58:34 +02:00
maria3.result Added some changes inspired by Zardosht Kasheff: 2009-06-30 00:03:30 +03:00
maria_notembedded.result Bug#42201 Maria: after a deadlock, table is marked as corrupted 2009-02-06 22:14:13 +01:00
maria_partition.result merge of 5.1-main into 5.1-maria. Myisam->Maria change propagation will follow. 2009-02-12 15:08:56 +01:00
maria_showlog_error.result Do not use MY_WME in the stat call which errors we process on high level. 2008-12-01 15:21:37 +02:00
ps_maria.result Added some changes inspired by Zardosht Kasheff: 2009-06-30 00:03:30 +03:00