mariadb/mysql-test/extra/rpl_tests
Rohit Kalhans de85a60049 BUG#11758263 50440: MARK UNORDERED UPDATE WITH AUTOINC UNSAFE
Problem: Statements that write to tables with auto_increment columns
      based on the selection from another table, may lead to master
      and slave going out of sync, as the order in which the rows
      are retrived from the table may differ on master and slave.
      
      Solution: We mark writing to a table with auto_increment table
      as unsafe. This will cause the execution of such statements to
      throw a warning and forces the statement to be logged in ROW if
      the logging format is mixed. 
      
      Changes: 
      1. All the statements that writes to a table with auto_increment 
      column(s) based on the rows fetched from another table, will now
      be unsafe.
      2. CREATE TABLE with SELECT will now be unsafe.


sql/share/errmsg-utf8.txt:
  Added new Warning messages
sql/sql_base.cc:
  created a new function that checks for select + write on a autoinc table
  made all such statements to be unsafe.
sql/sql_parse.cc:
  made create autoincremnet tabble + select unsafe
2012-02-08 00:33:08 +05:30
..
check_type.inc Bug#12384993 EXTRA/RPL_TEST/CHECK_TYPE.INC NEED SUPPORT FOR SPECIFIC ENGINE 2011-05-11 09:49:23 +02:00
create_recursive_construct.inc Tests: many if/while expresissons simplified after 57276 2010-11-17 11:16:13 +01:00
rpl_auto_increment.test Bug #56662 Assertion failed: next_insert_id == 0, file .\handler.cc 2010-12-21 12:47:22 +08:00
rpl_auto_increment_insert_view.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_auto_increment_invoke_trigger.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_autoinc_func_invokes_trigger.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_binlog_max_cache_size.test Upmerge 11762407 (54999) with additions 2011-02-23 12:54:58 +01:00
rpl_blackhole.test
rpl_charset.test Merged BUG#49978 from 5.1-bugteam to 5.5-bugteam. 2010-12-19 18:15:12 +01:00
rpl_commit_after_flush.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_conflicts.test Upmerge 11762407 (54999) with additions 2011-02-23 12:54:58 +01:00
rpl_ddl.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_deadlock.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_delete_no_where.test
rpl_drop_create_temp_table.inc Tests: many if/while expresissons simplified after 57276 2010-11-17 11:16:13 +01:00
rpl_drop_create_temp_table.test
rpl_EE_err.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_extra_col_master.test Automerge from mysql-5.1 to mysql-5.5. 2012-01-16 10:02:29 +00:00
rpl_extra_col_slave.test BUG#47741 rpl_ndb_extraCol fails in next-mr (mysql-5.1-rep+2) in RBR 2011-04-27 11:02:34 +02:00
rpl_failed_optimize.test BUG#11754075: BUG#45621: A FEW TEST FILES ARE DISABLED DUE TO WL#4284 2011-02-15 11:59:12 +00:00
rpl_flsh_tbls.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_foreign_key.test Merged BUG#49978 from 5.1-bugteam to 5.5-bugteam. 2010-12-19 18:15:12 +01:00
rpl_get_master_version_and_clock.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_implicit_commit_binlog.test Merged BUG#49978 from 5.1-bugteam to 5.5-bugteam. 2010-12-19 18:15:12 +01:00
rpl_innodb.test Merged BUG#49978 from 5.1-bugteam to 5.5-bugteam. 2010-12-19 18:15:12 +01:00
rpl_insert_delayed.test Tests: many if/while expresissons simplified after 57276 2010-11-17 11:16:13 +01:00
rpl_insert_id.test BUG#11758262 - 50439: MARK INSERT...SEL...ON DUP KEY UPD,REPLACE...SEL,CREATE...[IGN|REPL] SEL 2011-09-29 14:47:27 +05:30
rpl_insert_id_pk.test BUG#11758263 50440: MARK UNORDERED UPDATE WITH AUTOINC UNSAFE 2012-02-08 00:33:08 +05:30
rpl_insert_ignore.test BUG#11758262 - 50439: MARK INSERT...SEL...ON DUP KEY UPD,REPLACE...SEL,CREATE...[IGN|REPL] SEL 2011-09-29 14:47:27 +05:30
rpl_loaddata.test Upmerge 11762407 (54999) with additions 2011-02-23 12:54:58 +01:00
rpl_loadfile.test
rpl_log.test Merged BUG#49978 from 5.1-bugteam to 5.5-bugteam. 2010-12-19 18:15:12 +01:00
rpl_max_relay_size.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_mixing_engines.inc
rpl_mixing_engines.test
rpl_multi_query.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_multi_update.test BUG#11758263 50440: MARK UNORDERED UPDATE WITH AUTOINC UNSAFE 2012-02-08 00:33:08 +05:30
rpl_multi_update2.test BUG#11758263 50440: MARK UNORDERED UPDATE WITH AUTOINC UNSAFE 2012-02-08 00:33:08 +05:30
rpl_multi_update3.test BUG#11758263 50440: MARK UNORDERED UPDATE WITH AUTOINC UNSAFE 2012-02-08 00:33:08 +05:30
rpl_ndb_2multi_basic.test
rpl_ndb_2multi_eng.test
rpl_ndb_apply_status.test Merged BUG#49978 from 5.1-bugteam to 5.5-bugteam. 2010-12-19 18:15:12 +01:00
rpl_not_null.test Merged BUG#49978 from 5.1-bugteam to 5.5-bugteam. 2010-12-19 18:15:12 +01:00
rpl_partition.test
rpl_record_compare.test BUG#11766865: 60091: RBR + NO PK + UPDATE NULL VALUE --> SLAVE BREAK WITH ERROR HA_ERR_END_OF_ 2011-03-24 10:52:40 +00:00
rpl_relayrotate.test
rpl_reset_slave.test BUG#11809016 - NO WAY TO DISCOVER AN INSTANCE IS NO LONGER A SLAVE FOLLOWING MYSQL BUG#28796 2011-07-18 18:18:03 +01:00
rpl_row_001.test
rpl_row_basic.test Upmerge 11762407 (54999) with additions 2011-02-23 12:54:58 +01:00
rpl_row_blob.test
rpl_row_delayed_ins.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_row_func003.test
rpl_row_sp002.test Merged BUG#49978 from 5.1-bugteam to 5.5-bugteam. 2010-12-19 18:15:12 +01:00
rpl_row_sp003.test Fix for bug #57422 "rpl_row_sp003 sporadically fails under 2010-10-13 15:21:45 +04:00
rpl_row_sp006.test
rpl_row_sp007.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_row_tabledefs.test Upmerge 11762407 (54999) with additions 2011-02-23 12:54:58 +01:00
rpl_row_UUID.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_set_null.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_show_binlog_events.inc BUG#59444 2011-01-13 12:21:57 +00:00
rpl_show_log_events_with_varying_options.inc BUG#59444 2011-01-13 12:21:57 +00:00
rpl_show_relaylog_events.inc BUG#59444 2011-01-13 14:31:37 +00:00
rpl_start_stop_slave.test merge from 5.5 repo. 2012-01-31 17:07:44 +02:00
rpl_stm_create_if_not_exists.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_stm_EE_err2.test Bug #11762407 54999: MTR GLOBAL SUPPRESSION HIDES SQL THREAD EXECUTION UNEXPECTED ERRORS 2011-02-23 10:31:37 +01:00
rpl_stop_middle_group.test BUG#11877568 - RPL_SEMI_SYNC FAILS IN PB 2011-03-16 16:38:30 +00:00
rpl_stop_slave.test Some if simplifications in tests 2010-12-20 15:15:01 +01:00
rpl_sv_relay_space.test Merged BUG#49978 from 5.1-bugteam to 5.5-bugteam. 2010-12-19 18:15:12 +01:00
rpl_test_framework.inc BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_tmp_table_and_DDL.test
rpl_trig004.test
rpl_truncate.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
rpl_truncate_helper.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
type_conversions.test Merged BUG#49978 from 5.1-bugteam to 5.5-bugteam. 2010-12-19 18:15:12 +01:00