mariadb/storage/myisam
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
..
ftbench
.cvsignore
ChangeLog
CMakeLists.txt Merge mysql.com:/home/my/mysql-5.1 2008-04-28 19:24:05 +03:00
ft_boolean_search.c merge of 5.1-main into 5.1-maria. Myisam->Maria change propagation will follow. 2009-02-12 15:08:56 +01:00
ft_eval.c Moved a lot of old bug fixes and safe cleanups from Maria 5.1 tree to 5.1 2007-10-11 18:07:40 +03:00
ft_eval.h
ft_myisam.c Merged with mysql-5.1 main tree. 2007-07-02 20:45:15 +03:00
ft_nlq_search.c Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-main 2008-02-08 12:13:33 +01:00
ft_parser.c Fix for bug #37756: enabling fulltext indexes with 2009-01-26 10:35:15 +04:00
ft_static.c Merge mysql.com:/home/my/mysql-5.1 2008-04-28 19:24:05 +03:00
ft_stem.c
ft_stopwords.c Moved a lot of old bug fixes and safe cleanups from Maria 5.1 tree to 5.1 2007-10-11 18:07:40 +03:00
ft_test1.c Moved a lot of old bug fixes and safe cleanups from Maria 5.1 tree to 5.1 2007-10-11 18:07:40 +03:00
ft_test1.h
ft_update.c Moved a lot of old bug fixes and safe cleanups from Maria 5.1 tree to 5.1 2007-10-11 18:07:40 +03:00
ftdefs.h Fix for bug #37756: enabling fulltext indexes with 2009-01-26 10:35:15 +04:00
fulltext.h Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 2007-06-27 17:49:12 +03:00
ha_myisam.cc Added some changes inspired by Zardosht Kasheff: 2009-06-30 00:03:30 +03:00
ha_myisam.h Fix for Bug #37007 Maria: different checksum for MyISAM table depending on CHECKSUM=0|1 2008-06-28 15:45:15 +03:00
make-ccc
Makefile.am
mi_cache.c Added error HA_ERR_FILE_TOO_SHORT to be used when files are shorter than expected (by my_read/my_pread) 2007-12-04 23:23:42 +02:00
mi_changed.c
mi_check.c Added some changes inspired by Zardosht Kasheff: 2009-06-30 00:03:30 +03:00
mi_checksum.c First part of redo/undo for key pages 2007-11-14 19:08:06 +02:00
mi_close.c Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-maria 2007-07-04 12:20:53 +03:00
mi_create.c Log queries to maria_log if compiled with EXTRA_DEBUG 2009-01-16 00:25:53 +02:00
mi_dbug.c Moved randomize and my_rnd under mysys 2007-10-09 21:09:50 +03:00
mi_delete.c Added versioning of Maria index 2008-06-26 08:18:28 +03:00
mi_delete_all.c Fix for bug #35392: Delete all statement does not execute properly 2008-03-28 19:16:52 +04:00
mi_delete_table.c
mi_dynrec.c Merge mysql.com:/home/my/mysql-5.1 2008-04-28 19:24:05 +03:00
mi_extra.c Fixed bug in undo_key_delete; Caused crashed key files in recovery 2007-12-17 01:17:37 +02:00
mi_info.c
mi_key.c Merge hynda.mysql.fi:/home/my/mysql-5.1-main 2007-09-27 17:05:07 +03:00
mi_keycache.c Fixed a lot of compiler warnings and errors detected by Forte C++ on Solaris 2007-08-13 16:11:25 +03:00
mi_locking.c merge of 5.1-main into 5.1-maria. MyISAM changes are propagated to Maria except 2009-04-01 11:34:52 +02:00
mi_log.c Merge hynda.mysql.fi:/home/my/mysql-5.1-main 2007-09-27 17:05:07 +03:00
mi_open.c merge of 5.1-main into 5.1-maria. Myisam->Maria change propagation will follow. 2009-02-12 15:08:56 +01:00
mi_packrec.c Merged with mysql-5.1 tree. 2009-04-25 13:05:32 +03:00
mi_page.c We are now using Valgrind rather than purify, and have for quite some time. 2009-05-06 14:03:24 +02:00
mi_panic.c
mi_preload.c Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 2007-05-24 15:26:10 +03:00
mi_range.c Added versioning of Maria index 2008-06-26 08:18:28 +03:00
mi_rename.c
mi_rfirst.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
mi_rkey.c Merge hynda.mysql.fi:/home/my/mysql-5.1-main 2007-09-27 17:05:07 +03:00
mi_rlast.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
mi_rnext.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
mi_rnext_same.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
mi_rprev.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
mi_rrnd.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
mi_rsame.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
mi_rsamepos.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
mi_scan.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
mi_search.c Fixed problems in merge 2009-05-19 12:28:05 +03:00
mi_static.c merging fixes 2008-08-26 14:31:17 +05:00
mi_statrec.c Fixed a lot of compiler warnings and errors detected by Forte C++ on Solaris 2007-08-13 16:11:25 +03:00
mi_test1.c Moved a lot of old bug fixes and safe cleanups from Maria 5.1 tree to 5.1 2007-10-11 18:07:40 +03:00
mi_test2.c Fixed problems with ma_test2 and mi_test2 on high-byte-first system 2008-02-21 02:45:02 +02:00
mi_test3.c Windows fixes 2008-01-10 13:21:53 +01:00
mi_test_all.res
mi_test_all.sh
mi_unique.c Moved a lot of old bug fixes and safe cleanups from Maria 5.1 tree to 5.1 2007-10-11 18:07:40 +03:00
mi_update.c Merge gbichot4.local:/home/mysql_src/mysql-5.1-build-gca 2008-02-18 23:35:17 +01:00
mi_write.c Added versioning of Maria index 2008-06-26 08:18:28 +03:00
myisam_ftdump.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
myisamchk.c merge of 5.1-main into 5.1-maria. MyISAM changes are propagated to Maria except 2009-04-01 11:34:52 +02:00
myisamdef.h merge of 5.1-main into 5.1-maria. MyISAM changes are propagated to Maria except 2009-04-01 11:34:52 +02:00
myisamlog.c Merge gbichot4.local:/home/mysql_src/mysql-5.1-build-gca 2008-02-18 23:35:17 +01:00
myisampack.c merge of 5.1-main into 5.1-maria. Myisam->Maria change propagation will follow. 2009-02-12 15:08:56 +01:00
NEWS
plug.in restore plug.in - referenced by Makefile.am 2007-12-13 14:48:50 +01:00
rt_index.c Merged with mysql-5.1 tree. 2009-04-25 13:05:32 +03:00
rt_index.h
rt_key.c
rt_key.h
rt_mbr.c Merge mysql.com:/home/hf/work/30286/my50-30286 2007-10-05 15:43:15 +05:00
rt_mbr.h
rt_split.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
rt_test.c Fix for Valgrind errors when running rt_test and ma_rt_test, and segmentation fault 2008-06-10 15:44:41 +02:00
sort.c Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-main 2007-12-16 17:03:44 +02:00
sp_defs.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
sp_key.c porting 29070 to 5.1-opt 2007-07-11 13:09:39 +03:00
sp_test.c Moved a lot of old bug fixes and safe cleanups from Maria 5.1 tree to 5.1 2007-10-11 18:07:40 +03:00
test_pack
TODO