mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
bb55791994
- 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 |
||
---|---|---|
.. | ||
ftbench | ||
.cvsignore | ||
ChangeLog | ||
CMakeLists.txt | ||
ft_boolean_search.c | ||
ft_eval.c | ||
ft_eval.h | ||
ft_myisam.c | ||
ft_nlq_search.c | ||
ft_parser.c | ||
ft_static.c | ||
ft_stem.c | ||
ft_stopwords.c | ||
ft_test1.c | ||
ft_test1.h | ||
ft_update.c | ||
ftdefs.h | ||
fulltext.h | ||
ha_myisam.cc | ||
ha_myisam.h | ||
make-ccc | ||
Makefile.am | ||
mi_cache.c | ||
mi_changed.c | ||
mi_check.c | ||
mi_checksum.c | ||
mi_close.c | ||
mi_create.c | ||
mi_dbug.c | ||
mi_delete.c | ||
mi_delete_all.c | ||
mi_delete_table.c | ||
mi_dynrec.c | ||
mi_extra.c | ||
mi_info.c | ||
mi_key.c | ||
mi_keycache.c | ||
mi_locking.c | ||
mi_log.c | ||
mi_open.c | ||
mi_packrec.c | ||
mi_page.c | ||
mi_panic.c | ||
mi_preload.c | ||
mi_range.c | ||
mi_rename.c | ||
mi_rfirst.c | ||
mi_rkey.c | ||
mi_rlast.c | ||
mi_rnext.c | ||
mi_rnext_same.c | ||
mi_rprev.c | ||
mi_rrnd.c | ||
mi_rsame.c | ||
mi_rsamepos.c | ||
mi_scan.c | ||
mi_search.c | ||
mi_static.c | ||
mi_statrec.c | ||
mi_test1.c | ||
mi_test2.c | ||
mi_test3.c | ||
mi_test_all.res | ||
mi_test_all.sh | ||
mi_unique.c | ||
mi_update.c | ||
mi_write.c | ||
myisam_ftdump.c | ||
myisamchk.c | ||
myisamdef.h | ||
myisamlog.c | ||
myisampack.c | ||
NEWS | ||
plug.in | ||
rt_index.c | ||
rt_index.h | ||
rt_key.c | ||
rt_key.h | ||
rt_mbr.c | ||
rt_mbr.h | ||
rt_split.c | ||
rt_test.c | ||
sort.c | ||
sp_defs.h | ||
sp_key.c | ||
sp_test.c | ||
test_pack | ||
TODO |