mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +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.
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