mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix for bug#31704
Just had to put in the removal of the autocommit, and make sure the commit occurred at the propper time. client/mysqlslap.c: Fix for auto-connect on counter. Relabeled variable which was misnamed. mysql-test/r/mysqlslap.result: Updated result file
This commit is contained in:
@ -177,13 +177,17 @@ INSERT INTO t1 VALUES (1, 'This is a test');
|
||||
insert into t2 values ('test', 'test2');
|
||||
SET AUTOCOMMIT=0;
|
||||
SHOW TABLES;
|
||||
SET AUTOCOMMIT=0;
|
||||
select * from t1;
|
||||
COMMIT;
|
||||
select * from t2;
|
||||
COMMIT;
|
||||
select * from t1;
|
||||
COMMIT;
|
||||
select * from t2;
|
||||
COMMIT;
|
||||
select * from t1;
|
||||
COMMIT;
|
||||
select * from t2;
|
||||
COMMIT;
|
||||
COMMIT;
|
||||
@ -199,13 +203,17 @@ INSERT INTO t1 VALUES (1, 'This is a test');
|
||||
insert into t2 values ('test', 'test2');
|
||||
SET AUTOCOMMIT=0;
|
||||
SHOW TABLES;
|
||||
SET AUTOCOMMIT=0;
|
||||
select * from t1;
|
||||
COMMIT;
|
||||
select * from t2;
|
||||
COMMIT;
|
||||
select * from t1;
|
||||
COMMIT;
|
||||
select * from t2;
|
||||
COMMIT;
|
||||
select * from t1;
|
||||
COMMIT;
|
||||
select * from t2;
|
||||
COMMIT;
|
||||
COMMIT;
|
||||
|
Reference in New Issue
Block a user