mariadb/storage
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
..
archive Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
blackhole Merge branch '10.2' into 10.3 2019-06-14 07:36:47 +02:00
cassandra Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
connect Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
csv Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
example Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
federated Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
federatedx Merge 10.2 into 10.3 2019-04-04 19:41:12 +03:00
heap MDEV-15458 Segfault in heap_scan() upon UPDATE after ADD SYSTEM VERSIONING 2019-05-17 13:53:22 +02:00
innobase MDEV-19845: Fix the build on some platforms 2019-06-27 15:04:00 +03:00
maria MDEV-17551 assert or crashed table when using blobs 2019-06-27 19:01:51 +03:00
mroonga Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
myisam MDEV-15458 Segfault in heap_scan() upon UPDATE after ADD SYSTEM VERSIONING 2019-05-17 13:53:22 +02:00
myisammrg Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
oqgraph Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
perfschema Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
rocksdb Merge 10.2 into 10.3 2019-06-19 08:56:10 +03:00
sequence Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sphinx MDEV-16544 - crash in ha_sphinx::create() 2018-08-05 00:33:12 +01:00
spider spider_db_init(): Do not return uninitialized error_num 2019-06-14 07:26:51 +03:00
test_sql_discovery Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
tokudb Merge branch '10.2' into 10.3 2019-06-14 07:36:47 +02:00