mariadb/storage/maria
Monty 9053047f3d MDEV-17551 assert or crashed table when using blobs
The bug was that when long item-strings was converted to VARCHAR,
type_handler::string_type_handler() didn't take into account max
VARCHAR length.  The resulting Aria temporary table was created with
a VARCHAR field of length 1 when it should have been 65537. This caused
MariaDB to send impossible records to ma_write() and Aria reported
eventually the table as crashed.

Fixed by updating Type_handler::string_type_handler() to not create too long
VARCHAR fields. To make things extra safe, I also added checks in when
writing dynamic Aria records to ensure we find the wrong record during write
instead of during read.
2019-06-27 19:01:51 +03:00
..
unittest Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
CMakeLists.txt Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
file_formats.txt
ft_maria.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ha_maria.cc Merge 10.2 into 10.3 2019-06-19 08:56:10 +03:00
ha_maria.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
lockman.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
lockman.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_bitmap.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_blockrec.c Merge 10.2 into 10.3 2019-06-19 08:56:10 +03:00
ma_blockrec.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ma_cache.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_changed.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_check.c MDEV-17551 assert or crashed table when using blobs 2019-06-27 19:01:51 +03:00
ma_check_standalone.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ma_checkpoint.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_checkpoint.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_checksum.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ma_close.c MDEV-17551 assert or crashed table when using blobs 2019-06-27 19:01:51 +03:00
ma_commit.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_commit.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_control_file.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_control_file.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_create.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_crypt.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_crypt.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_dbug.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_delete.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_delete_all.c MDEV-19595 fixed 2019-06-19 00:35:44 +03:00
ma_delete_table.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_dynrec.c MDEV-17551 assert or crashed table when using blobs 2019-06-27 19:01:51 +03:00
ma_extra.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ma_ft_boolean_search.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_ft_eval.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_ft_eval.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_ft_nlq_search.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_ft_parser.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_ft_stem.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_ft_test1.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_ft_test1.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_ft_update.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_ftdefs.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_fulltext.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_info.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_init.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_key.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_key_recover.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_key_recover.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_keycache.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_locking.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_loghandler.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_loghandler.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ma_loghandler_lsn.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ma_norec.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_open.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_packrec.c MDEV-19595 fixed 2019-06-19 00:35:44 +03:00
ma_page.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_pagecache.c Merge 10.2 into 10.3 2019-06-19 08:56:10 +03:00
ma_pagecache.h Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_pagecaches.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_pagecrc.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_panic.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_preload.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_range.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ma_recovery.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_recovery.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_recovery_util.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_recovery_util.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_rename.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_rfirst.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_rkey.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_rlast.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_rnext.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_rnext_same.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_rprev.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_rrnd.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_rsame.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_rsamepos.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_rt_index.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ma_rt_index.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_rt_key.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ma_rt_key.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_rt_mbr.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_rt_mbr.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_rt_split.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ma_rt_test.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_scan.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_search.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_servicethread.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ma_servicethread.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_sort.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ma_sp_defs.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_sp_key.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_sp_test.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_state.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_state.h Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_static.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_statrec.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_test1.c Fixed that ma_test_all.sh works 2019-06-16 13:31:42 +03:00
ma_test2.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_test3.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_test_all.res
ma_test_all.sh
ma_test_big.sh
ma_test_force_start.pl
ma_test_recovery
ma_trnman.h Update FSF address 2019-05-11 19:25:02 +03:00
ma_unique.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_update.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_write.c MDEV-15458 Segfault in heap_scan() upon UPDATE after ADD SYSTEM VERSIONING 2019-05-17 13:53:22 +02:00
maria_chk.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
maria_def.h Merge 10.2 into 10.3 2019-06-19 08:56:10 +03:00
maria_dump_log.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
maria_ftdump.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
maria_pack.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
maria_read_log.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
maria_rename.sh
tablockman.c Update FSF address 2019-05-10 20:52:00 +03:00
tablockman.h Update FSF address 2019-05-10 20:52:00 +03:00
test_pack
trnman.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
trnman.h Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
trnman_public.h Update FSF address 2019-05-10 20:52:00 +03:00