mariadb/mysql-test/suite/parts/t
V Narayanan 9776b6f9cd Bug#45823 Assertion failure in file row/row0mysql.c line 1386
Inserting a negative value in the autoincrement column of a
partitioned innodb table was causing the value of the auto
increment counter to wrap around into a very large positive
value. The consequences are the same as if a very large positive
value was inserted into a column, e.g. reduced autoincrement
range, failure to read autoincrement counter.

The current patch ensures that before calculating the next
auto increment value, the current value is within the positive
maximum allowed limit.

mysql-test/suite/parts/inc/partition_auto_increment.inc:
  Bug#45823 Assertion failure in file row/row0mysql.c line 1386
  
  Adds tests for performing insert,update and delete on a partition
  table with negative auto_increment values.
mysql-test/suite/parts/r/partition_auto_increment_innodb.result:
  Bug#45823 Assertion failure in file row/row0mysql.c line 1386
  
  Result file for the innodb engine.
mysql-test/suite/parts/r/partition_auto_increment_memory.result:
  Bug#45823 Assertion failure in file row/row0mysql.c line 1386
  
  Result file for the memory engine.
mysql-test/suite/parts/r/partition_auto_increment_myisam.result:
  Bug#45823 Assertion failure in file row/row0mysql.c line 1386
  
  Result file for the myisam engine.
mysql-test/suite/parts/r/partition_auto_increment_ndb.result:
  Bug#45823 Assertion failure in file row/row0mysql.c line 1386
  
  Result file for the ndb engine.
mysql-test/suite/parts/t/partition_auto_increment_archive.test:
  Bug#45823 Assertion failure in file row/row0mysql.c line 1386
  
  Adds a variable that allows the Archive engine to skip tests
  that involve insertion of negative auto increment values.
mysql-test/suite/parts/t/partition_auto_increment_blackhole.test:
  Bug#45823 Assertion failure in file row/row0mysql.c line 1386
  
  Adds a variable that allows the Blackhole engine to skip tests
  that involve insertion of negative auto increment values.
sql/ha_partition.cc:
  Bug#45823 Assertion failure in file row/row0mysql.c line 1386
  
  Ensures that the current value is lesser than the upper limit
  for the type of the field before setting the next auto increment
  value to be calculated.
sql/ha_partition.h:
  Bug#45823 Assertion failure in file row/row0mysql.c line 1386
  
  Modifies the set_auto_increment_if_higher function, to take
  into account negative auto increment values when doing a
  comparison.
2009-09-04 09:27:11 +05:30
..
disabled.def Fix for Bug#40904 20 tests in 5.1 are disabled in a bad manner 2008-12-08 15:36:42 +01:00
ndb_dd_backuprestore.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
part_blocked_sql_func_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
part_blocked_sql_func_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
part_supported_sql_func_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
part_supported_sql_func_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
part_supported_sql_func_ndb.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
partition_alter1_1_2_innodb.test Merge magare.gmz:/home/kgeorge/mysql/work/B36011-take2-5.0-bugteam 2008-05-16 19:03:50 +03:00
partition_alter1_1_2_myisam.test Merge magare.gmz:/home/kgeorge/mysql/work/B36011-take2-5.0-bugteam 2008-05-16 19:03:50 +03:00
partition_alter1_1_2_ndb.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
partition_alter1_1_innodb.test Merge magare.gmz:/home/kgeorge/mysql/work/B36011-take2-5.0-bugteam 2008-05-16 19:03:50 +03:00
partition_alter1_1_myisam.test Merge magare.gmz:/home/kgeorge/mysql/work/B36011-take2-5.0-bugteam 2008-05-16 19:03:50 +03:00
partition_alter1_1_ndb.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
partition_alter1_2_innodb.test Merge magare.gmz:/home/kgeorge/mysql/work/B36011-take2-5.0-bugteam 2008-05-16 19:03:50 +03:00
partition_alter1_2_myisam.test Merge magare.gmz:/home/kgeorge/mysql/work/B36011-take2-5.0-bugteam 2008-05-16 19:03:50 +03:00
partition_alter1_2_ndb.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
partition_alter2_1_innodb.test Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory) 2008-09-18 12:02:48 +03:00
partition_alter2_1_myisam.test Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory) 2008-09-18 12:02:48 +03:00
partition_alter2_2_innodb.test Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory) 2008-09-18 12:02:48 +03:00
partition_alter2_2_myisam.test Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory) 2008-09-18 12:02:48 +03:00
partition_alter3_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_alter3_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_alter4_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_alter4_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_auto_increment_archive.test Bug#45823 Assertion failure in file row/row0mysql.c line 1386 2009-09-04 09:27:11 +05:30
partition_auto_increment_blackhole.test Bug#45823 Assertion failure in file row/row0mysql.c line 1386 2009-09-04 09:27:11 +05:30
partition_auto_increment_innodb.test Bug#38804: Query deadlock causes all tables to be inaccessible. 2008-09-08 15:30:01 +02:00
partition_auto_increment_memory.test Bug#38804: Query deadlock causes all tables to be inaccessible. 2008-09-08 15:30:01 +02:00
partition_auto_increment_myisam.test Bug#38804: Query deadlock causes all tables to be inaccessible. 2008-09-08 15:30:01 +02:00
partition_auto_increment_ndb.test Bug#38804: Query deadlock causes all tables to be inaccessible. 2008-09-08 15:30:01 +02:00
partition_basic_innodb.test Bug#35306: partition_basic_symlink test failures 2008-03-17 16:18:02 +01:00
partition_basic_myisam.test Bug#35306: partition_basic_symlink test failures 2008-03-17 16:18:02 +01:00
partition_basic_ndb.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
partition_basic_symlink_innodb.test Fix paths MYSQLTEST_VARDIR/master-data -> MYSQLD_DATADIR 2008-04-04 17:46:48 +02:00
partition_basic_symlink_myisam.test Bug#34225: test suit parts uses /tmp-dir 2008-02-06 15:13:56 +01:00
partition_bit_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_bit_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_char_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_char_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_datetime_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_datetime_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_decimal_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_decimal_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_engine_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_engine_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_engine_ndb.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
partition_float_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_float_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_int_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_int_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_int_ndb.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
partition_mgm_lc0_archive.test merge and pre push fix for test of bug#37719 2008-11-05 22:26:39 +01:00
partition_mgm_lc0_innodb.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc0_memory.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc0_myisam.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc0_ndb.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_archive-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_archive.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_innodb-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_innodb.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_memory-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_memory.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_myisam-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_myisam.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_ndb-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_ndb.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_archive-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_archive.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_innodb-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_innodb.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_memory-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_memory.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_myisam-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_myisam.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_ndb-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_ndb.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_recover_myisam-master.opt Post push fix for valgrind warning in ha_partition.cc 2008-08-19 11:44:22 +02:00
partition_recover_myisam.test Fixed the parts testsuite to work with mtr2 2009-02-01 14:00:48 +02:00
partition_repair_myisam.test Fixed the parts testsuite to work with mtr2 2009-02-01 14:00:48 +02:00
partition_special_innodb-master.opt Backport of patch for Bug#34604 (from 6.0) 2008-08-20 17:29:14 +02:00
partition_special_innodb.test Bug#40515: Query on a partitioned table does not return 2008-12-04 10:47:25 +01:00
partition_special_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_syntax_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_syntax_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_syntax_ndb.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
partition_value_innodb.test Fix for Bug#40904 20 tests in 5.1 are disabled in a bad manner 2008-12-08 15:36:42 +01:00
partition_value_myisam.test Fix for Bug#40904 20 tests in 5.1 are disabled in a bad manner 2008-12-08 15:36:42 +01:00
partition_value_ndb.test Fix for Bug#40904 20 tests in 5.1 are disabled in a bad manner 2008-12-08 15:36:42 +01:00
rpl_partition.test Fixed the parts testsuite to work with mtr2 2009-02-01 14:00:48 +02:00