mariadb/mysql-test/suite
Nirbhay Choubey 7ec6558503 MDEV-9021: MYSQLD SEGFAULTS WHEN BUILT USING --WITH-MAX-INDEXES=128
The bitmap implementation defines two template Bitmap classes. One
optimized for 64-bit (default) wide bitmaps while the other is used for
all other widths.

In order to optimize the computations, Bitmap<64> class has defined its
own member functions for bitmap operations, the other one, however,
relies on mysys' bitmap implementation (mysys/my_bitmap.c).

Issue 1:
In case of non 64-bit Bitmap class, intersect() wrongly reset the
received bitmap while initialising a new local bitmap structure
(bitmap_init() clears the bitmap buffer) thus, the received bitmap was
getting cleared.

Fixed by initializing the local bitmap structure by using a temporary
buffer and later copying the received bitmap to the initialised bitmap
structure.

Issue 2:
The non 64-bit Bitmap class had the Iterator missing which caused
compilation failure.

Also added a cmake variable to hold the MAX_INDEXES value when supplied
from the command prompt. (eg. cmake .. -DMAX_INDEXES=128U). Checks have
been put in place to trigger build failure if MAX_INDEXES value is
greater than 128.

Test modifications:
* Introduced include/have_max_indexes_[64|128].inc to facilitate
skipping of tests for which the output differs with different
MAX_INDEXES.

* Introduced include/max_indexes.inc which would get modified by cmake
to reflect the MAX_INDEXES value used to build the server. This file
simply sets an mtr variable '$max_indexes' to show the MAX_INDEXES
value, which will then be consumed by the above introduced include file.

* Some tests (portions), dependent on MAX_INDEXES value, have been moved
to separate test files.
2015-11-09 09:28:00 -05:00
..
archive MDEV-6066: Merge new defaults from 5.6 and 5.7 (defaults changed, QC can be stopped with no-zero size) 2015-09-04 10:33:56 +02:00
binlog Merge branch '10.0' into 10.1 2015-10-12 00:37:58 +02:00
csv MDEV-8682 - CSV engine does not properly process "", in quotes 2015-09-28 12:04:26 +04:00
encryption MDEV-9063: encryption.innodb-log-encrypt produces warnings in error logs on builds with bundled SSL 2015-11-03 16:03:25 +02:00
engines Fixed engine test results in accordance with changes made in scope of 2015-11-06 17:52:57 +02:00
federated MDEV-8466 CAST works differently for DECIMAL/INT vs DOUBLE for empty strings 2015-09-17 11:05:07 +04:00
funcs_1 MDEV-8658 DATE(zerofill_column) and DATE(COALESCE(zerofill_column)) return different results 2015-09-23 20:42:28 +04:00
funcs_2 MDEV-6566 Different INSERT behaviour on bad bytes with and without character set conversion 2015-03-13 16:51:36 +04:00
galera MDEV-8831 : enforce_storage_engine doesn't block table creation on other nodes 2015-10-01 20:36:25 -04:00
galera_3nodes Merge branch '10.0-galera' into 10.1 2015-07-14 16:05:29 -04:00
handler
heap 5.5.40+ merge 2014-10-09 10:30:11 +02:00
innodb MDEV-9040: 10.1.8 fails after upgrade from 10.0.21 2015-11-05 10:30:48 +02:00
innodb_fts sort a non-deterministic test result 2015-01-15 08:55:00 +01:00
innodb_zip Ensure that fields declared with NOT NULL doesn't have DEFAULT values if not specified and if not timestamp or auto_increment 2015-08-18 11:18:57 +03:00
jp Merge branch '10.0' into 10.1 2015-10-12 00:37:58 +02:00
large_tests
maria MDEV-9021: MYSQLD SEGFAULTS WHEN BUILT USING --WITH-MAX-INDEXES=128 2015-11-09 09:28:00 -05:00
mtr/t
mtr2
multi_source test cleanup: remove Format_description_log_event size dependency 2015-09-04 10:33:53 +02:00
ndb Bug #18075170 SQL NODE RESTART REQUIRED TO 2015-05-11 16:05:50 +05:30
optimizer_unfixed_bugs MDEV-8466 CAST works differently for DECIMAL/INT vs DOUBLE for empty strings 2015-09-17 11:05:07 +04:00
parts MDEV-3929 Add system variable explicit_defaults_for_timestamp for compatibility with MySQL 2015-09-22 14:01:54 +04:00
percona Merge tag 'mariadb-10.0.20' into 10.1 2015-06-27 20:35:26 +02:00
perfschema Merge branch '10.0' into 10.1 2015-10-12 00:37:58 +02:00
perfschema_stress
plugins Merge branch '10.0' into 10.1 2015-10-12 00:37:58 +02:00
roles MDEV-6066: Merge new defaults from 5.6 and 5.7 2015-09-04 10:33:56 +02:00
rpl Merge branch '10.0' into 10.1 2015-10-12 00:37:58 +02:00
storage_engine Follow-up for MDEV-8675 and MDEV-8676 2015-09-14 03:12:54 +03:00
stress Merge tag 'mariadb-10.0.20' into 10.1 2015-06-27 20:35:26 +02:00
sys_vars MDEV-9040: 10.1.8 fails after upgrade from 10.0.21 2015-11-05 10:30:48 +02:00
unit
vcol MDEV-8839 COLUMN_GET() produces warnings with no data 2015-09-24 15:48:02 +04:00
wsrep Adjust warning suppression over a recent change in galera library. 2015-09-27 19:20:43 -04:00