mariadb/storage
Sachin eed6d215f1 MDEV-20001 Potential dangerous regression: INSERT INTO >=100 rows fail for myisam table with HASH indexes
Problem:-

So the issue is when we do bulk insert with rows
> MI_MIN_ROWS_TO_DISABLE_INDEXES(100) , We try to disable the indexes to
speedup insert. But current logic also disables the long unique indexes.

Solution:- In ha_myisam::start_bulk_insert if we find long hash index
(HA_KEY_ALG_LONG_HASH) we will not disable the index.

This commit also refactors the mi_disable_indexes_for_rebuild function,
Since this is function is called at only one place, it is inlined into
start_bulk_insert

mi_clear_key_active is added into myisamdef.h because now it is also used
in ha_myisam.cc file.

(Same is done for Aria Storage engine)
2020-02-03 12:44:31 +05:30
..
archive MDEV-19955 make argument of handler::ha_write_row() const 2019-07-05 13:14:19 +03:00
blackhole MDEV-19955 make argument of handler::ha_write_row() const 2019-07-05 13:14:19 +03:00
cassandra MDEV-19955 make argument of handler::ha_write_row() const 2019-07-05 13:14:19 +03:00
connect Fixed compiler warnings from gcc 7.4.1 2020-01-29 23:23:55 +02:00
csv MDEV-19955 make argument of handler::ha_write_row() const 2019-07-05 13:14:19 +03:00
example Merge branch '10.3' into 10.4 2019-12-09 15:09:41 +01:00
federated MDEV-19955 make argument of handler::ha_write_row() const 2019-07-05 13:14:19 +03:00
federatedx Merge branch '10.3' into 10.4 2019-12-09 15:09:41 +01:00
heap MDEV-21082: isnan/isinf compilation errors, isfinite warnings on MacOS 2019-11-19 16:28:15 +03:00
innobase MDEV-21256 after-merge fix: Use std::atomic 2020-02-01 15:06:12 +02:00
maria MDEV-20001 Potential dangerous regression: INSERT INTO >=100 rows fail for myisam table with HASH indexes 2020-02-03 12:44:31 +05:30
mroonga Fixed compiler warnings from gcc 7.4.1 2020-01-29 23:23:55 +02:00
myisam MDEV-20001 Potential dangerous regression: INSERT INTO >=100 rows fail for myisam table with HASH indexes 2020-02-03 12:44:31 +05:30
myisammrg MDEV-19955 make argument of handler::ha_write_row() const 2019-07-05 13:14:19 +03:00
oqgraph MDEV-19955 make argument of handler::ha_write_row() const 2019-07-05 13:14:19 +03:00
perfschema fix perfschema.start_server_innodb test (related to MDEV-17571) 2020-01-24 14:34:07 +01:00
rocksdb Fixed compiler warnings from gcc 7.4.1 2020-01-29 23:23:55 +02:00
sequence Merge 10.3 into 10.4 2019-10-10 11:19:25 +03:00
sphinx Merge branch '10.3' into 10.4 2019-12-09 15:09:41 +01:00
spider fix compiler warnings 2019-12-06 05:10:01 +09:00
test_sql_discovery Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
tokudb Merge branch '10.3' into 10.4 2020-01-24 14:50:23 +01:00