mariadb/mysql-test/suite
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
..
binlog Manual merge. 2009-03-25 23:41:16 +04:00
bugs merged 5.1-main -> 5.1-bugteam 2009-01-30 15:44:49 +02:00
federated Added option --staging-run to mysql-test-run to mark slow, not important tests, to not be run in staging trees 2009-06-05 18:35:22 +03:00
funcs_1 Merged with mysql-5.1 tree. 2009-04-25 13:05:32 +03:00
funcs_2 Fix for Bug#40904 20 tests in 5.1 are disabled in a bad manner 2008-12-08 15:36:42 +01:00
im Move instance manager tests to it's own suite 2007-08-29 19:02:33 +02:00
jp fixed jp test failures 2009-02-02 14:42:33 +04:00
large_tests Bug#27029 alter table ... enable keys crashes mysqld on large table 2007-06-21 12:45:56 -04:00
manual manual merge for bug_29136, bug#29309. 2007-10-13 23:12:50 +03:00
maria Added some changes inspired by Zardosht Kasheff: 2009-06-30 00:03:30 +03:00
ndb Merged with mysql-5.1 tree. 2009-04-25 13:05:32 +03:00
ndb_team Bug#41307: Tests using include/ndb_backup.inc won't work on Windows due to 'grep' call. 2009-03-16 17:36:14 -04:00
parts Merged with mysql-5.1 tree. 2009-04-25 13:05:32 +03:00
pbxt Data file for PBXT test added 2009-04-07 12:57:46 +02:00
rpl Added option --staging-run to mysql-test-run to mark slow, not important tests, to not be run in staging trees 2009-06-05 18:35:22 +03:00
rpl_ndb Bug#41307: Tests using include/ndb_backup.inc won't work on Windows due to 'grep' call. 2009-03-16 17:36:14 -04:00
stress Merge trift2.:/MySQL/M51/mysql-5.1 2008-02-22 16:14:27 +01:00
sys_vars Merged with mysql-5.1 tree. 2009-04-25 13:05:32 +03:00