List:Commits« Previous MessageNext Message »
From:Hakan Kuecuekyilmaz Date:July 14 2008 6:53pm
Subject:bzr commit into mysql-6.0-falcon branch (hakan:2745) Bug#36700
View as plain text  
#At file:///home/hakan/work/mysql/mysql-6.0-falcon-to-merge/

 2745 Hakan Kuecuekyilmaz	2008-07-14
      Moved out falcon_bug_28048.test to falcon_team suite due to Bug#36700.
renamed:
  mysql-test/suite/falcon/r/falcon_bug_28048.result =>
mysql-test/suite/falcon_team/r/falcon_bug_28048.result
  mysql-test/suite/falcon/t/falcon_bug_28048.test =>
mysql-test/suite/falcon_team/t/falcon_bug_28048.test
modified:
  mysql-test/suite/falcon_team/r/falcon_bug_28048.result
  mysql-test/suite/falcon_team/t/falcon_bug_28048.test

per-file messages:
  mysql-test/suite/falcon_team/r/falcon_bug_28048.result
    Adjusted result file.
  mysql-test/suite/falcon_team/t/falcon_bug_28048.test
    Reworked test case to confirm to our Falcon test coding standards.
=== renamed file 'mysql-test/suite/falcon/r/falcon_bug_28048.result' =>
'mysql-test/suite/falcon_team/r/falcon_bug_28048.result'
--- a/mysql-test/suite/falcon/r/falcon_bug_28048.result	2007-09-20 15:44:25 +0000
+++ b/mysql-test/suite/falcon_team/r/falcon_bug_28048.result	2008-07-14 16:53:18 +0000
@@ -1,8 +1,8 @@
-#---- Bug 28048 ----
-SET STORAGE_ENGINE='Falcon';
+*** Bug #28048 ***
+SET @@storage_engine = 'Falcon';
 DROP TABLE IF EXISTS t1;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -21,7 +21,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -30,11 +30,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 999;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -53,7 +53,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -62,11 +62,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 998;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -85,7 +85,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -94,11 +94,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 997;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -117,7 +117,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -126,11 +126,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 996;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -149,7 +149,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -158,11 +158,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 995;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -181,7 +181,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -190,11 +190,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 994;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -213,7 +213,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -222,11 +222,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 993;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -245,7 +245,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -254,11 +254,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 992;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -277,7 +277,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -286,11 +286,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 991;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -309,7 +309,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -318,11 +318,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 990;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -341,7 +341,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -350,11 +350,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 989;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -373,7 +373,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -382,11 +382,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 988;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -405,7 +405,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -414,11 +414,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 987;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -437,7 +437,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -446,11 +446,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 986;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -469,7 +469,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -478,11 +478,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 985;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -501,7 +501,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -510,11 +510,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 984;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -533,7 +533,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -542,11 +542,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 983;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -565,7 +565,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -574,11 +574,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 982;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -597,7 +597,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -606,11 +606,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 981;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -629,7 +629,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -638,11 +638,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 980;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -661,7 +661,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -670,11 +670,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 979;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -693,7 +693,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -702,11 +702,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 978;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -725,7 +725,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -734,11 +734,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 977;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -757,7 +757,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -766,11 +766,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 976;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -789,7 +789,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -798,11 +798,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 975;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -821,7 +821,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -830,11 +830,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 974;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -853,7 +853,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -862,11 +862,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 973;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -885,7 +885,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -894,11 +894,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 972;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -917,7 +917,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -926,11 +926,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 971;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -949,7 +949,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -958,11 +958,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 970;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -981,7 +981,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -990,11 +990,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 969;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1013,7 +1013,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1022,11 +1022,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 968;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1045,7 +1045,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1054,11 +1054,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 967;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1077,7 +1077,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1086,11 +1086,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 966;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1109,7 +1109,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1118,11 +1118,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 965;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1141,7 +1141,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1150,11 +1150,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 964;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1173,7 +1173,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1182,11 +1182,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 963;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1205,7 +1205,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1214,11 +1214,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 962;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1237,7 +1237,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1246,11 +1246,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 961;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1269,7 +1269,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1278,11 +1278,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 960;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1301,7 +1301,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1310,11 +1310,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 959;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1333,7 +1333,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1342,11 +1342,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 958;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1365,7 +1365,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1374,11 +1374,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 957;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1397,7 +1397,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1406,11 +1406,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 956;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1429,7 +1429,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1438,11 +1438,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 955;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1461,7 +1461,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1470,11 +1470,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 954;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1493,7 +1493,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1502,11 +1502,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 953;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1525,7 +1525,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1534,11 +1534,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 952;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1557,7 +1557,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1566,11 +1566,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 951;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1589,7 +1589,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1598,11 +1598,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 950;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1621,7 +1621,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1630,11 +1630,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 949;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1653,7 +1653,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1662,11 +1662,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 948;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1685,7 +1685,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1694,11 +1694,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 947;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1717,7 +1717,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1726,11 +1726,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 946;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1749,7 +1749,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1758,11 +1758,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 945;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1781,7 +1781,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1790,11 +1790,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 944;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1813,7 +1813,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1822,11 +1822,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 943;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1845,7 +1845,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1854,11 +1854,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 942;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1877,7 +1877,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1886,11 +1886,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 941;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1909,7 +1909,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1918,11 +1918,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 940;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1941,7 +1941,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1950,11 +1950,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 939;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -1973,7 +1973,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -1982,11 +1982,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 938;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2005,7 +2005,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2014,11 +2014,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 937;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2037,7 +2037,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2046,11 +2046,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 936;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2069,7 +2069,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2078,11 +2078,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 935;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2101,7 +2101,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2110,11 +2110,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 934;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2133,7 +2133,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2142,11 +2142,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 933;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2165,7 +2165,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2174,11 +2174,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 932;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2197,7 +2197,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2206,11 +2206,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 931;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2229,7 +2229,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2238,11 +2238,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 930;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2261,7 +2261,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2270,11 +2270,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 929;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2293,7 +2293,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2302,11 +2302,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 928;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2325,7 +2325,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2334,11 +2334,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 927;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2357,7 +2357,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2366,11 +2366,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 926;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2389,7 +2389,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2398,11 +2398,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 925;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2421,7 +2421,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2430,11 +2430,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 924;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2453,7 +2453,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2462,11 +2462,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 923;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2485,7 +2485,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2494,11 +2494,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 922;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2517,7 +2517,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2526,11 +2526,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 921;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2549,7 +2549,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2558,11 +2558,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 920;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2581,7 +2581,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2590,11 +2590,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 919;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2613,7 +2613,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2622,11 +2622,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 918;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2645,7 +2645,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2654,11 +2654,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 917;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2677,7 +2677,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2686,11 +2686,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 916;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2709,7 +2709,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2718,11 +2718,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 915;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2741,7 +2741,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2750,11 +2750,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 914;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2773,7 +2773,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2782,11 +2782,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 913;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2805,7 +2805,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2814,11 +2814,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 912;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2837,7 +2837,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2846,11 +2846,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 911;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2869,7 +2869,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2878,11 +2878,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 910;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2901,7 +2901,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2910,11 +2910,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 909;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2933,7 +2933,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2942,11 +2942,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 908;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2965,7 +2965,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -2974,11 +2974,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 907;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -2997,7 +2997,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3006,11 +3006,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 906;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3029,7 +3029,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3038,11 +3038,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 905;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3061,7 +3061,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3070,11 +3070,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 904;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3093,7 +3093,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3102,11 +3102,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 903;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3125,7 +3125,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3134,11 +3134,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 902;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3157,7 +3157,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3166,11 +3166,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 901;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3189,7 +3189,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3198,11 +3198,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 900;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3221,7 +3221,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3230,11 +3230,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 899;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3253,7 +3253,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3262,11 +3262,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 898;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3285,7 +3285,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3294,11 +3294,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 897;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3317,7 +3317,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3326,11 +3326,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 896;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3349,7 +3349,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3358,11 +3358,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 895;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3381,7 +3381,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3390,11 +3390,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 894;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3413,7 +3413,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3422,11 +3422,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 893;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3445,7 +3445,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3454,11 +3454,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 892;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3477,7 +3477,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3486,11 +3486,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 891;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3509,7 +3509,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3518,11 +3518,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 890;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3541,7 +3541,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3550,11 +3550,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 889;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3573,7 +3573,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3582,11 +3582,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 888;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3605,7 +3605,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3614,11 +3614,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 887;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3637,7 +3637,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3646,11 +3646,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 886;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3669,7 +3669,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3678,11 +3678,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 885;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3701,7 +3701,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3710,11 +3710,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 884;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3733,7 +3733,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3742,11 +3742,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 883;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3765,7 +3765,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3774,11 +3774,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 882;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3797,7 +3797,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3806,11 +3806,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 881;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3829,7 +3829,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3838,11 +3838,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 880;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3861,7 +3861,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3870,11 +3870,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 879;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3893,7 +3893,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3902,11 +3902,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 878;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3925,7 +3925,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3934,11 +3934,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 877;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3957,7 +3957,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3966,11 +3966,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 876;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -3989,7 +3989,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -3998,11 +3998,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 875;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4021,7 +4021,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4030,11 +4030,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 874;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4053,7 +4053,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4062,11 +4062,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 873;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4085,7 +4085,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4094,11 +4094,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 872;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4117,7 +4117,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4126,11 +4126,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 871;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4149,7 +4149,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4158,11 +4158,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 870;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4181,7 +4181,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4190,11 +4190,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 869;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4213,7 +4213,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4222,11 +4222,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 868;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4245,7 +4245,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4254,11 +4254,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 867;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4277,7 +4277,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4286,11 +4286,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 866;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4309,7 +4309,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4318,11 +4318,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 865;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4341,7 +4341,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4350,11 +4350,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 864;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4373,7 +4373,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4382,11 +4382,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 863;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4405,7 +4405,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4414,11 +4414,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 862;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4437,7 +4437,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4446,11 +4446,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 861;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4469,7 +4469,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4478,11 +4478,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 860;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4501,7 +4501,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4510,11 +4510,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 859;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4533,7 +4533,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4542,11 +4542,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 858;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4565,7 +4565,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4574,11 +4574,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 857;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4597,7 +4597,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4606,11 +4606,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 856;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4629,7 +4629,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4638,11 +4638,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 855;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4661,7 +4661,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4670,11 +4670,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 854;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4693,7 +4693,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4702,11 +4702,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 853;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4725,7 +4725,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4734,11 +4734,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 852;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4757,7 +4757,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4766,11 +4766,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 851;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4789,7 +4789,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4798,11 +4798,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 850;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4821,7 +4821,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4830,11 +4830,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 849;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4853,7 +4853,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4862,11 +4862,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 848;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4885,7 +4885,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4894,11 +4894,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 847;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4917,7 +4917,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4926,11 +4926,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 846;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4949,7 +4949,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4958,11 +4958,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 845;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -4981,7 +4981,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -4990,11 +4990,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 844;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5013,7 +5013,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5022,11 +5022,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 843;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5045,7 +5045,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5054,11 +5054,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 842;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5077,7 +5077,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5086,11 +5086,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 841;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5109,7 +5109,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5118,11 +5118,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 840;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5141,7 +5141,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5150,11 +5150,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 839;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5173,7 +5173,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5182,11 +5182,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 838;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5205,7 +5205,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5214,11 +5214,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 837;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5237,7 +5237,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5246,11 +5246,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 836;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5269,7 +5269,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5278,11 +5278,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 835;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5301,7 +5301,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5310,11 +5310,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 834;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5333,7 +5333,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5342,11 +5342,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 833;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5365,7 +5365,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5374,11 +5374,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 832;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5397,7 +5397,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5406,11 +5406,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 831;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5429,7 +5429,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5438,11 +5438,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 830;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5461,7 +5461,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5470,11 +5470,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 829;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5493,7 +5493,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5502,11 +5502,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 828;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5525,7 +5525,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5534,11 +5534,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 827;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5557,7 +5557,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5566,11 +5566,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 826;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5589,7 +5589,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5598,11 +5598,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 825;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5621,7 +5621,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5630,11 +5630,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 824;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5653,7 +5653,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5662,11 +5662,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 823;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5685,7 +5685,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5694,11 +5694,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 822;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5717,7 +5717,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5726,11 +5726,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 821;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5749,7 +5749,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5758,11 +5758,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 820;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5781,7 +5781,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5790,11 +5790,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 819;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5813,7 +5813,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5822,11 +5822,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 818;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5845,7 +5845,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5854,11 +5854,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 817;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5877,7 +5877,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5886,11 +5886,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 816;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5909,7 +5909,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5918,11 +5918,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 815;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5941,7 +5941,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5950,11 +5950,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 814;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -5973,7 +5973,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -5982,11 +5982,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 813;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6005,7 +6005,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6014,11 +6014,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 812;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6037,7 +6037,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6046,11 +6046,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 811;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6069,7 +6069,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6078,11 +6078,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 810;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6101,7 +6101,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6110,11 +6110,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 809;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6133,7 +6133,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6142,11 +6142,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 808;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6165,7 +6165,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6174,11 +6174,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 807;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6197,7 +6197,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6206,11 +6206,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 806;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6229,7 +6229,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6238,11 +6238,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 805;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6261,7 +6261,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6270,11 +6270,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 804;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6293,7 +6293,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6302,11 +6302,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 803;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6325,7 +6325,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6334,11 +6334,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 802;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6357,7 +6357,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6366,11 +6366,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 801;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6389,7 +6389,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6398,11 +6398,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 800;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6421,7 +6421,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6430,11 +6430,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 799;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6453,7 +6453,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6462,11 +6462,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 798;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6485,7 +6485,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6494,11 +6494,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 797;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6517,7 +6517,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6526,11 +6526,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 796;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6549,7 +6549,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6558,11 +6558,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 795;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6581,7 +6581,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6590,11 +6590,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 794;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6613,7 +6613,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6622,11 +6622,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 793;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6645,7 +6645,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6654,11 +6654,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 792;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6677,7 +6677,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6686,11 +6686,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 791;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6709,7 +6709,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6718,11 +6718,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 790;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6741,7 +6741,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6750,11 +6750,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 789;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6773,7 +6773,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6782,11 +6782,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 788;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6805,7 +6805,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6814,11 +6814,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 787;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6837,7 +6837,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6846,11 +6846,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 786;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6869,7 +6869,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6878,11 +6878,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 785;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6901,7 +6901,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6910,11 +6910,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 784;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6933,7 +6933,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6942,11 +6942,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 783;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6965,7 +6965,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -6974,11 +6974,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 782;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -6997,7 +6997,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7006,11 +7006,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 781;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7029,7 +7029,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7038,11 +7038,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 780;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7061,7 +7061,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7070,11 +7070,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 779;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7093,7 +7093,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7102,11 +7102,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 778;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7125,7 +7125,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7134,11 +7134,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 777;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7157,7 +7157,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7166,11 +7166,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 776;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7189,7 +7189,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7198,11 +7198,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 775;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7221,7 +7221,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7230,11 +7230,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 774;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7253,7 +7253,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7262,11 +7262,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 773;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7285,7 +7285,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7294,11 +7294,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 772;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7317,7 +7317,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7326,11 +7326,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 771;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7349,7 +7349,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7358,11 +7358,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 770;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7381,7 +7381,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7390,11 +7390,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 769;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7413,7 +7413,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7422,11 +7422,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 768;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7445,7 +7445,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7454,11 +7454,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 767;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7477,7 +7477,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7486,11 +7486,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 766;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7509,7 +7509,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7518,11 +7518,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 765;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7541,7 +7541,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7550,11 +7550,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 764;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7573,7 +7573,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7582,11 +7582,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 763;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7605,7 +7605,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7614,11 +7614,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 762;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7637,7 +7637,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7646,11 +7646,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 761;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7669,7 +7669,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7678,11 +7678,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 760;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7701,7 +7701,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7710,11 +7710,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 759;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7733,7 +7733,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7742,11 +7742,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 758;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7765,7 +7765,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7774,11 +7774,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 757;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7797,7 +7797,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7806,11 +7806,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 756;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7829,7 +7829,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7838,11 +7838,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 755;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7861,7 +7861,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7870,11 +7870,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 754;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7893,7 +7893,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7902,11 +7902,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 753;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7925,7 +7925,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7934,11 +7934,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 752;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7957,7 +7957,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7966,11 +7966,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 751;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -7989,7 +7989,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -7998,11 +7998,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 750;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8021,7 +8021,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8030,11 +8030,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 749;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8053,7 +8053,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8062,11 +8062,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 748;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8085,7 +8085,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8094,11 +8094,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 747;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8117,7 +8117,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8126,11 +8126,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 746;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8149,7 +8149,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8158,11 +8158,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 745;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8181,7 +8181,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8190,11 +8190,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 744;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8213,7 +8213,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8222,11 +8222,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 743;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8245,7 +8245,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8254,11 +8254,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 742;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8277,7 +8277,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8286,11 +8286,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 741;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8309,7 +8309,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8318,11 +8318,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 740;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8341,7 +8341,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8350,11 +8350,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 739;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8373,7 +8373,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8382,11 +8382,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 738;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8405,7 +8405,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8414,11 +8414,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 737;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8437,7 +8437,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8446,11 +8446,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 736;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8469,7 +8469,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8478,11 +8478,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 735;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8501,7 +8501,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8510,11 +8510,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 734;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8533,7 +8533,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8542,11 +8542,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 733;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8565,7 +8565,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8574,11 +8574,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 732;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8597,7 +8597,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8606,11 +8606,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 731;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8629,7 +8629,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8638,11 +8638,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 730;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8661,7 +8661,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8670,11 +8670,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 729;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8693,7 +8693,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8702,11 +8702,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 728;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8725,7 +8725,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8734,11 +8734,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 727;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8757,7 +8757,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8766,11 +8766,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 726;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8789,7 +8789,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8798,11 +8798,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 725;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8821,7 +8821,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8830,11 +8830,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 724;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8853,7 +8853,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8862,11 +8862,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 723;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8885,7 +8885,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8894,11 +8894,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 722;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8917,7 +8917,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8926,11 +8926,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 721;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8949,7 +8949,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8958,11 +8958,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 720;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -8981,7 +8981,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -8990,11 +8990,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 719;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9013,7 +9013,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9022,11 +9022,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 718;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9045,7 +9045,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9054,11 +9054,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 717;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9077,7 +9077,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9086,11 +9086,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 716;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9109,7 +9109,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9118,11 +9118,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 715;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9141,7 +9141,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9150,11 +9150,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 714;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9173,7 +9173,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9182,11 +9182,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 713;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9205,7 +9205,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9214,11 +9214,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 712;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9237,7 +9237,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9246,11 +9246,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 711;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9269,7 +9269,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9278,11 +9278,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 710;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9301,7 +9301,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9310,11 +9310,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 709;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9333,7 +9333,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9342,11 +9342,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 708;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9365,7 +9365,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9374,11 +9374,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 707;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9397,7 +9397,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9406,11 +9406,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 706;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9429,7 +9429,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9438,11 +9438,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 705;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9461,7 +9461,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9470,11 +9470,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 704;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9493,7 +9493,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9502,11 +9502,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 703;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9525,7 +9525,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9534,11 +9534,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 702;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9557,7 +9557,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9566,11 +9566,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 701;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9589,7 +9589,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9598,11 +9598,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 700;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9621,7 +9621,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9630,11 +9630,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 699;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9653,7 +9653,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9662,11 +9662,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 698;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9685,7 +9685,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9694,11 +9694,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 697;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9717,7 +9717,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9726,11 +9726,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 696;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9749,7 +9749,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9758,11 +9758,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 695;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9781,7 +9781,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9790,11 +9790,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 694;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9813,7 +9813,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9822,11 +9822,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 693;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9845,7 +9845,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9854,11 +9854,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 692;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9877,7 +9877,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9886,11 +9886,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 691;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9909,7 +9909,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9918,11 +9918,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 690;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9941,7 +9941,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9950,11 +9950,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 689;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -9973,7 +9973,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -9982,11 +9982,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 688;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10005,7 +10005,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10014,11 +10014,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 687;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10037,7 +10037,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10046,11 +10046,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 686;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10069,7 +10069,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10078,11 +10078,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 685;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10101,7 +10101,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10110,11 +10110,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 684;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10133,7 +10133,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10142,11 +10142,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 683;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10165,7 +10165,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10174,11 +10174,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 682;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10197,7 +10197,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10206,11 +10206,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 681;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10229,7 +10229,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10238,11 +10238,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 680;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10261,7 +10261,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10270,11 +10270,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 679;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10293,7 +10293,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10302,11 +10302,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 678;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10325,7 +10325,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10334,11 +10334,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 677;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10357,7 +10357,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10366,11 +10366,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 676;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10389,7 +10389,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10398,11 +10398,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 675;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10421,7 +10421,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10430,11 +10430,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 674;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10453,7 +10453,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10462,11 +10462,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 673;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10485,7 +10485,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10494,11 +10494,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 672;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10517,7 +10517,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10526,11 +10526,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 671;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10549,7 +10549,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10558,11 +10558,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 670;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10581,7 +10581,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10590,11 +10590,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 669;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10613,7 +10613,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10622,11 +10622,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 668;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10645,7 +10645,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10654,11 +10654,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 667;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10677,7 +10677,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10686,11 +10686,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 666;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10709,7 +10709,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10718,11 +10718,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 665;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10741,7 +10741,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10750,11 +10750,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 664;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10773,7 +10773,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10782,11 +10782,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 663;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10805,7 +10805,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10814,11 +10814,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 662;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10837,7 +10837,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10846,11 +10846,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 661;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10869,7 +10869,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10878,11 +10878,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 660;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10901,7 +10901,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10910,11 +10910,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 659;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10933,7 +10933,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10942,11 +10942,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 658;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10965,7 +10965,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -10974,11 +10974,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 657;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -10997,7 +10997,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11006,11 +11006,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 656;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11029,7 +11029,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11038,11 +11038,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 655;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11061,7 +11061,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11070,11 +11070,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 654;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11093,7 +11093,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11102,11 +11102,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 653;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11125,7 +11125,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11134,11 +11134,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 652;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11157,7 +11157,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11166,11 +11166,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 651;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11189,7 +11189,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11198,11 +11198,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 650;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11221,7 +11221,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11230,11 +11230,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 649;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11253,7 +11253,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11262,11 +11262,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 648;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11285,7 +11285,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11294,11 +11294,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 647;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11317,7 +11317,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11326,11 +11326,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 646;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11349,7 +11349,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11358,11 +11358,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 645;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11381,7 +11381,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11390,11 +11390,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 644;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11413,7 +11413,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11422,11 +11422,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 643;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11445,7 +11445,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11454,11 +11454,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 642;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11477,7 +11477,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11486,11 +11486,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 641;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11509,7 +11509,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11518,11 +11518,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 640;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11541,7 +11541,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11550,11 +11550,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 639;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11573,7 +11573,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11582,11 +11582,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 638;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11605,7 +11605,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11614,11 +11614,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 637;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11637,7 +11637,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11646,11 +11646,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 636;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11669,7 +11669,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11678,11 +11678,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 635;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11701,7 +11701,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11710,11 +11710,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 634;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11733,7 +11733,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11742,11 +11742,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 633;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11765,7 +11765,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11774,11 +11774,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 632;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11797,7 +11797,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11806,11 +11806,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 631;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11829,7 +11829,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11838,11 +11838,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 630;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11861,7 +11861,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11870,11 +11870,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 629;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11893,7 +11893,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11902,11 +11902,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 628;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11925,7 +11925,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11934,11 +11934,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 627;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11957,7 +11957,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11966,11 +11966,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 626;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -11989,7 +11989,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -11998,11 +11998,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 625;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12021,7 +12021,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12030,11 +12030,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 624;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12053,7 +12053,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12062,11 +12062,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 623;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12085,7 +12085,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12094,11 +12094,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 622;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12117,7 +12117,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12126,11 +12126,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 621;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12149,7 +12149,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12158,11 +12158,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 620;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12181,7 +12181,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12190,11 +12190,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 619;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12213,7 +12213,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12222,11 +12222,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 618;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12245,7 +12245,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12254,11 +12254,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 617;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12277,7 +12277,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12286,11 +12286,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 616;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12309,7 +12309,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12318,11 +12318,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 615;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12341,7 +12341,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12350,11 +12350,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 614;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12373,7 +12373,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12382,11 +12382,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 613;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12405,7 +12405,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12414,11 +12414,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 612;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12437,7 +12437,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12446,11 +12446,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 611;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12469,7 +12469,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12478,11 +12478,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 610;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12501,7 +12501,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12510,11 +12510,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 609;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12533,7 +12533,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12542,11 +12542,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 608;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12565,7 +12565,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12574,11 +12574,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 607;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12597,7 +12597,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12606,11 +12606,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 606;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12629,7 +12629,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12638,11 +12638,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 605;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12661,7 +12661,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12670,11 +12670,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 604;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12693,7 +12693,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12702,11 +12702,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 603;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12725,7 +12725,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12734,11 +12734,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 602;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12757,7 +12757,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12766,11 +12766,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 601;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12789,7 +12789,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12798,11 +12798,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 600;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12821,7 +12821,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12830,11 +12830,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 599;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12853,7 +12853,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12862,11 +12862,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 598;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12885,7 +12885,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12894,11 +12894,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 597;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12917,7 +12917,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12926,11 +12926,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 596;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12949,7 +12949,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12958,11 +12958,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 595;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -12981,7 +12981,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -12990,11 +12990,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 594;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13013,7 +13013,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13022,11 +13022,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 593;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13045,7 +13045,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13054,11 +13054,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 592;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13077,7 +13077,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13086,11 +13086,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 591;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13109,7 +13109,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13118,11 +13118,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 590;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13141,7 +13141,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13150,11 +13150,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 589;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13173,7 +13173,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13182,11 +13182,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 588;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13205,7 +13205,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13214,11 +13214,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 587;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13237,7 +13237,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13246,11 +13246,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 586;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13269,7 +13269,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13278,11 +13278,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 585;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13301,7 +13301,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13310,11 +13310,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 584;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13333,7 +13333,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13342,11 +13342,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 583;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13365,7 +13365,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13374,11 +13374,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 582;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13397,7 +13397,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13406,11 +13406,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 581;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13429,7 +13429,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13438,11 +13438,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 580;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13461,7 +13461,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13470,11 +13470,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 579;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13493,7 +13493,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13502,11 +13502,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 578;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13525,7 +13525,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13534,11 +13534,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 577;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13557,7 +13557,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13566,11 +13566,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 576;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13589,7 +13589,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13598,11 +13598,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 575;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13621,7 +13621,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13630,11 +13630,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 574;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13653,7 +13653,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13662,11 +13662,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 573;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13685,7 +13685,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13694,11 +13694,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 572;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13717,7 +13717,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13726,11 +13726,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 571;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13749,7 +13749,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13758,11 +13758,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 570;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13781,7 +13781,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13790,11 +13790,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 569;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13813,7 +13813,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13822,11 +13822,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 568;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13845,7 +13845,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13854,11 +13854,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 567;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13877,7 +13877,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13886,11 +13886,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 566;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13909,7 +13909,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13918,11 +13918,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 565;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13941,7 +13941,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13950,11 +13950,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 564;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -13973,7 +13973,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -13982,11 +13982,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 563;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14005,7 +14005,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14014,11 +14014,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 562;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14037,7 +14037,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14046,11 +14046,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 561;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14069,7 +14069,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14078,11 +14078,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 560;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14101,7 +14101,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14110,11 +14110,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 559;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14133,7 +14133,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14142,11 +14142,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 558;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14165,7 +14165,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14174,11 +14174,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 557;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14197,7 +14197,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14206,11 +14206,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 556;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14229,7 +14229,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14238,11 +14238,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 555;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14261,7 +14261,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14270,11 +14270,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 554;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14293,7 +14293,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14302,11 +14302,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 553;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14325,7 +14325,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14334,11 +14334,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 552;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14357,7 +14357,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14366,11 +14366,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 551;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14389,7 +14389,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14398,11 +14398,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 550;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14421,7 +14421,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14430,11 +14430,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 549;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14453,7 +14453,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14462,11 +14462,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 548;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14485,7 +14485,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14494,11 +14494,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 547;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14517,7 +14517,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14526,11 +14526,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 546;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14549,7 +14549,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14558,11 +14558,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 545;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14581,7 +14581,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14590,11 +14590,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 544;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14613,7 +14613,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14622,11 +14622,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 543;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14645,7 +14645,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14654,11 +14654,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 542;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14677,7 +14677,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14686,11 +14686,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 541;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14709,7 +14709,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14718,11 +14718,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 540;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14741,7 +14741,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14750,11 +14750,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 539;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14773,7 +14773,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14782,11 +14782,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 538;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14805,7 +14805,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14814,11 +14814,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 537;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14837,7 +14837,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14846,11 +14846,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 536;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14869,7 +14869,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14878,11 +14878,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 535;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14901,7 +14901,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14910,11 +14910,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 534;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14933,7 +14933,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14942,11 +14942,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 533;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14965,7 +14965,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -14974,11 +14974,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 532;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -14997,7 +14997,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15006,11 +15006,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 531;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15029,7 +15029,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15038,11 +15038,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 530;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15061,7 +15061,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15070,11 +15070,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 529;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15093,7 +15093,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15102,11 +15102,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 528;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15125,7 +15125,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15134,11 +15134,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 527;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15157,7 +15157,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15166,11 +15166,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 526;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15189,7 +15189,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15198,11 +15198,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 525;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15221,7 +15221,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15230,11 +15230,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 524;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15253,7 +15253,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15262,11 +15262,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 523;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15285,7 +15285,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15294,11 +15294,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 522;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15317,7 +15317,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15326,11 +15326,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 521;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15349,7 +15349,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15358,11 +15358,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 520;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15381,7 +15381,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15390,11 +15390,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 519;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15413,7 +15413,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15422,11 +15422,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 518;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15445,7 +15445,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15454,11 +15454,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 517;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15477,7 +15477,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15486,11 +15486,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 516;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15509,7 +15509,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15518,11 +15518,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 515;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15541,7 +15541,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15550,11 +15550,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 514;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15573,7 +15573,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15582,11 +15582,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 513;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15605,7 +15605,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15614,11 +15614,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 512;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15637,7 +15637,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15646,11 +15646,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 511;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15669,7 +15669,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15678,11 +15678,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 510;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15701,7 +15701,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15710,11 +15710,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 509;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15733,7 +15733,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15742,11 +15742,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 508;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15765,7 +15765,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15774,11 +15774,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 507;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15797,7 +15797,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15806,11 +15806,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 506;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15829,7 +15829,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15838,11 +15838,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 505;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15861,7 +15861,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15870,11 +15870,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 504;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15893,7 +15893,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15902,11 +15902,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 503;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15925,7 +15925,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15934,11 +15934,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 502;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15957,7 +15957,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15966,11 +15966,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 501;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -15989,7 +15989,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -15998,11 +15998,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 500;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16021,7 +16021,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16030,11 +16030,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 499;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16053,7 +16053,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16062,11 +16062,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 498;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16085,7 +16085,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16094,11 +16094,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 497;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16117,7 +16117,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16126,11 +16126,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 496;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16149,7 +16149,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16158,11 +16158,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 495;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16181,7 +16181,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16190,11 +16190,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 494;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16213,7 +16213,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16222,11 +16222,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 493;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16245,7 +16245,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16254,11 +16254,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 492;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16277,7 +16277,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16286,11 +16286,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 491;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16309,7 +16309,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16318,11 +16318,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 490;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16341,7 +16341,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16350,11 +16350,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 489;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16373,7 +16373,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16382,11 +16382,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 488;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16405,7 +16405,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16414,11 +16414,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 487;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16437,7 +16437,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16446,11 +16446,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 486;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16469,7 +16469,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16478,11 +16478,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 485;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16501,7 +16501,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16510,11 +16510,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 484;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16533,7 +16533,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16542,11 +16542,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 483;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16565,7 +16565,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16574,11 +16574,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 482;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16597,7 +16597,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16606,11 +16606,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 481;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16629,7 +16629,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16638,11 +16638,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 480;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16661,7 +16661,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16670,11 +16670,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 479;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16693,7 +16693,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16702,11 +16702,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 478;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16725,7 +16725,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16734,11 +16734,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 477;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16757,7 +16757,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16766,11 +16766,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 476;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16789,7 +16789,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16798,11 +16798,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 475;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16821,7 +16821,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16830,11 +16830,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 474;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16853,7 +16853,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16862,11 +16862,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 473;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16885,7 +16885,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16894,11 +16894,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 472;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16917,7 +16917,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16926,11 +16926,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 471;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16949,7 +16949,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16958,11 +16958,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 470;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -16981,7 +16981,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -16990,11 +16990,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 469;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17013,7 +17013,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17022,11 +17022,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 468;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17045,7 +17045,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17054,11 +17054,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 467;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17077,7 +17077,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17086,11 +17086,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 466;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17109,7 +17109,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17118,11 +17118,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 465;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17141,7 +17141,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17150,11 +17150,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 464;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17173,7 +17173,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17182,11 +17182,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 463;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17205,7 +17205,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17214,11 +17214,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 462;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17237,7 +17237,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17246,11 +17246,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 461;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17269,7 +17269,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17278,11 +17278,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 460;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17301,7 +17301,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17310,11 +17310,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 459;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17333,7 +17333,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17342,11 +17342,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 458;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17365,7 +17365,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17374,11 +17374,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 457;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17397,7 +17397,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17406,11 +17406,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 456;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17429,7 +17429,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17438,11 +17438,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 455;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17461,7 +17461,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17470,11 +17470,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 454;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17493,7 +17493,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17502,11 +17502,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 453;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17525,7 +17525,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17534,11 +17534,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 452;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17557,7 +17557,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17566,11 +17566,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 451;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17589,7 +17589,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17598,11 +17598,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 450;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17621,7 +17621,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17630,11 +17630,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 449;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17653,7 +17653,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17662,11 +17662,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 448;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17685,7 +17685,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17694,11 +17694,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 447;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17717,7 +17717,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17726,11 +17726,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 446;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17749,7 +17749,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17758,11 +17758,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 445;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17781,7 +17781,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17790,11 +17790,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 444;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17813,7 +17813,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17822,11 +17822,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 443;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17845,7 +17845,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17854,11 +17854,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 442;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17877,7 +17877,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17886,11 +17886,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 441;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17909,7 +17909,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17918,11 +17918,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 440;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17941,7 +17941,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17950,11 +17950,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 439;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -17973,7 +17973,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -17982,11 +17982,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 438;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18005,7 +18005,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18014,11 +18014,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 437;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18037,7 +18037,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18046,11 +18046,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 436;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18069,7 +18069,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18078,11 +18078,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 435;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18101,7 +18101,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18110,11 +18110,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 434;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18133,7 +18133,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18142,11 +18142,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 433;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18165,7 +18165,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18174,11 +18174,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 432;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18197,7 +18197,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18206,11 +18206,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 431;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18229,7 +18229,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18238,11 +18238,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 430;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18261,7 +18261,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18270,11 +18270,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 429;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18293,7 +18293,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18302,11 +18302,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 428;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18325,7 +18325,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18334,11 +18334,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 427;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18357,7 +18357,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18366,11 +18366,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 426;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18389,7 +18389,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18398,11 +18398,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 425;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18421,7 +18421,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18430,11 +18430,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 424;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18453,7 +18453,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18462,11 +18462,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 423;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18485,7 +18485,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18494,11 +18494,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 422;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18517,7 +18517,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18526,11 +18526,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 421;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18549,7 +18549,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18558,11 +18558,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 420;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18581,7 +18581,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18590,11 +18590,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 419;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18613,7 +18613,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18622,11 +18622,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 418;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18645,7 +18645,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18654,11 +18654,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 417;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18677,7 +18677,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18686,11 +18686,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 416;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18709,7 +18709,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18718,11 +18718,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 415;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18741,7 +18741,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18750,11 +18750,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 414;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18773,7 +18773,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18782,11 +18782,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 413;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18805,7 +18805,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18814,11 +18814,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 412;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18837,7 +18837,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18846,11 +18846,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 411;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18869,7 +18869,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18878,11 +18878,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 410;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18901,7 +18901,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18910,11 +18910,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 409;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18933,7 +18933,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18942,11 +18942,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 408;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18965,7 +18965,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -18974,11 +18974,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 407;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -18997,7 +18997,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19006,11 +19006,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 406;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19029,7 +19029,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19038,11 +19038,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 405;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19061,7 +19061,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19070,11 +19070,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 404;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19093,7 +19093,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19102,11 +19102,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 403;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19125,7 +19125,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19134,11 +19134,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 402;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19157,7 +19157,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19166,11 +19166,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 401;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19189,7 +19189,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19198,11 +19198,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 400;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19221,7 +19221,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19230,11 +19230,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 399;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19253,7 +19253,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19262,11 +19262,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 398;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19285,7 +19285,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19294,11 +19294,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 397;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19317,7 +19317,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19326,11 +19326,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 396;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19349,7 +19349,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19358,11 +19358,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 395;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19381,7 +19381,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19390,11 +19390,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 394;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19413,7 +19413,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19422,11 +19422,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 393;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19445,7 +19445,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19454,11 +19454,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 392;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19477,7 +19477,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19486,11 +19486,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 391;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19509,7 +19509,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19518,11 +19518,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 390;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19541,7 +19541,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19550,11 +19550,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 389;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19573,7 +19573,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19582,11 +19582,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 388;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19605,7 +19605,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19614,11 +19614,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 387;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19637,7 +19637,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19646,11 +19646,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 386;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19669,7 +19669,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19678,11 +19678,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 385;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19701,7 +19701,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19710,11 +19710,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 384;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19733,7 +19733,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19742,11 +19742,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 383;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19765,7 +19765,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19774,11 +19774,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 382;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19797,7 +19797,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19806,11 +19806,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 381;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19829,7 +19829,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19838,11 +19838,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 380;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19861,7 +19861,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19870,11 +19870,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 379;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19893,7 +19893,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19902,11 +19902,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 378;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19925,7 +19925,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19934,11 +19934,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 377;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19957,7 +19957,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19966,11 +19966,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 376;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -19989,7 +19989,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -19998,11 +19998,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 375;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20021,7 +20021,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20030,11 +20030,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 374;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20053,7 +20053,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20062,11 +20062,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 373;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20085,7 +20085,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20094,11 +20094,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 372;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20117,7 +20117,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20126,11 +20126,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 371;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20149,7 +20149,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20158,11 +20158,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 370;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20181,7 +20181,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20190,11 +20190,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 369;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20213,7 +20213,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20222,11 +20222,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 368;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20245,7 +20245,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20254,11 +20254,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 367;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20277,7 +20277,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20286,11 +20286,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 366;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20309,7 +20309,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20318,11 +20318,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 365;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20341,7 +20341,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20350,11 +20350,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 364;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20373,7 +20373,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20382,11 +20382,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 363;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20405,7 +20405,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20414,11 +20414,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 362;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20437,7 +20437,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20446,11 +20446,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 361;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20469,7 +20469,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20478,11 +20478,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 360;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20501,7 +20501,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20510,11 +20510,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 359;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20533,7 +20533,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20542,11 +20542,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 358;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20565,7 +20565,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20574,11 +20574,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 357;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20597,7 +20597,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20606,11 +20606,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 356;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20629,7 +20629,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20638,11 +20638,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 355;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20661,7 +20661,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20670,11 +20670,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 354;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20693,7 +20693,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20702,11 +20702,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 353;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20725,7 +20725,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20734,11 +20734,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 352;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20757,7 +20757,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20766,11 +20766,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 351;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20789,7 +20789,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20798,11 +20798,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 350;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20821,7 +20821,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20830,11 +20830,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 349;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20853,7 +20853,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20862,11 +20862,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 348;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20885,7 +20885,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20894,11 +20894,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 347;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20917,7 +20917,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20926,11 +20926,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 346;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20949,7 +20949,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20958,11 +20958,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 345;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -20981,7 +20981,7 @@ select n, "after commit" from t1;
 n	after commit
 4	after commit
 5	after commit
-set autocommit=1;
+set @@autocommit = 1;
 insert into t1 values (6);
 insert into t1 values (4);
 ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
@@ -20990,11 +20990,11 @@ n
 4
 5
 6
-set autocommit=0;
+set @@autocommit = 0;
 DROP TABLE t1;
 344;
-create table t1 (n int not null primary key) ;
-set autocommit=0;
+create table t1 (n int not null primary key);
+set @@autocommit = 0;
 insert into t1 values (4);
 rollback;
 select n, "after rollback" from t1;
@@ -21013,7 +21013,7 @@ select n, "aft