mariadb/storage/rocksdb/mysql-test
Sergei Petrunia 7e7592ade5 MDEV-16154: Server crashes in in myrocks::ha_rocksdb::load_auto_incr_value_from_index
Backport the fix from the upstream and add our testcase.
Backported cset:
commit 997a979bf5e2f75ab88781d9d3fd22dddc1fc21f
Author: Manuel Ung <mung@fb.com>
Date:   Thu Feb 15 08:38:12 2018 -0800

    Fix crashes in autoincrement code paths

    Summary:
    There are two issues related to autoincrement that can lead to crashes:

    1. The max value for double/float type for autoincrement was not implemented in MyRocks, and can lead to assertions. The fix is to add them in.
    2. If we try to set auto_increment via alter table on a table without an auto_increment column defined, we segfault because there is no index from which to read the last value. The fix is to perform a check to see if autoincrement exists before reading from index (similar to code ha_rocksdb::open).

    Fixes https://github.com/facebook/mysql-5.6/issues/792
    Closes https://github.com/facebook/mysql-5.6/pull/794

    Differential Revision: D6995096

    Pulled By: lth

    fbshipit-source-id: 1130ce1
2018-05-14 15:59:51 +03:00
..
rocksdb MDEV-16154: Server crashes in in myrocks::ha_rocksdb::load_auto_incr_value_from_index 2018-05-14 15:59:51 +03:00
rocksdb_hotbackup MDEV-14123: .rocksdb folder may break workflow which re-create data directory 2017-12-11 12:31:59 +03:00
rocksdb_rpl Merge from merge-myrocks: 2018-01-27 11:52:34 +00:00
rocksdb_stress Copy of 2018-01-27 10:18:20 +00:00
rocksdb_sys_vars Merge branch 'bb-10.2-mariarocks-merge' of github.com:MariaDB/server into 10.2 2018-05-07 21:38:18 +03:00
storage_engine MDEV-14607 storage_engine-rocksdb.type_bit_indexes fails after latest pushes 2017-12-13 00:29:44 +02:00