1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-05 12:42:17 +03:00
Files
mariadb/mysql-test/suite/engines/rr_trx/r/rr_u_4.result
Omer BarNir c92b9b7315 Test suites for engine testing, moved from test-extra so will be available
for general use.


mysql-test/Makefile.am:
  Adding directories of additional test suites
mysql-test/mysql-stress-test.pl:
  Adding check for additional errors checking during test run
2010-03-17 23:42:07 -07:00

12 lines
333 B
Plaintext

SET autocommit = 0;
START TRANSACTION;
SET @conn_id = CONNECTION_ID(), @thread_id = 0;
UPDATE t1 SET `int1` = `int1` - 4,
`id` = 4,
`is_consistent` = 0,
`connection_id` = @conn_id,
`thread_id` = @thread_id
WHERE `pk` = 4;
*** UPDATEing row with pk = 4 and `int1_key` +=4 if above statement succeeded (query log disabled)...
COMMIT;