Browse Source
Fixed lp:905716 "Assertion `page->size <= share->max_index_block_size'"
Fixed lp:905716 "Assertion `page->size <= share->max_index_block_size'"
The issue was that Aria allowed too long keys to be created (so that the internal buffer was not big enough to hold the whole key). Key lengths is now limited to HA_MAX_KEY_LENGTH (1000), as for MyISAM. Fixed failure in "_ma_apply_redo_index: Assertion `new_page_length == 0", as found by buildbot. mysql-test/suite/maria/r/maria.result: Updated results mysql-test/suite/maria/r/maria3.result: Updated results. Added test for bug fix mysql-test/suite/maria/t/maria3.test: Updated results. Added test for bug fix mysql-test/suite/maria/t/optimize.test: Updated test for new max key length storage/maria/ha_maria.cc: Limit key to HA_MAX_KEY_LENGTH. storage/maria/ma_key_recover.c: Limit used page length to max page size (this is in line with the code that writes the entry to the log). This fixes failure in "_ma_apply_redo_index: Assertion `new_page_length == 0", as found by buildbot. storage/maria/ma_search.c: Extra DBUG storage/maria/ma_write.c: Added test to detect errors earlier.pull/843/head
8 changed files with 80 additions and 29 deletions
-
38mysql-test/suite/maria/r/maria.result
-
27mysql-test/suite/maria/r/maria3.result
-
21mysql-test/suite/maria/t/maria3.test
-
4mysql-test/suite/maria/t/optimize.test
-
11storage/maria/ha_maria.cc
-
2storage/maria/ma_key_recover.c
-
4storage/maria/ma_search.c
-
2storage/maria/ma_write.c
4
mysql-test/suite/maria/t/optimize.test
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save
Reference in new issue