mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 22:34:18 +01:00
365dbaab21
Problem: If INSERT is immediately followed by SELECT in another thread, the newly inserted rows may not be returned by the SELECT statement, if ENGINE=myisam and @@concurrent_insert=1. This caused sporadic errors in rpl_insert_id. Fix: The test now uses ENGINE=$engine_type when creating tables (so that innodb is used). It also turns off @@concurrent_insert around the critical place, so that it works if someone in the future writes a test that sets $engine_type=myisam before sourcing extra/rpl_tests/rpl_insert_id.test. It also adds ORDER BY to all SELECTs so that the result is deterministic. |
||
---|---|---|
.. | ||
data | ||
include | ||
r | ||
t | ||
combinations | ||
README |
How to run. =========== ./mysql-test-run.pl --suite=rpl --mysqld=--binlog-format=mixed