Remove trailing whitespace
Removed trailing whitespace in tests and build scripts.
This commit is contained in:
@ -5,7 +5,7 @@ drop table if exists t1;
|
||||
--enable_warnings
|
||||
create table t1 (id integer);
|
||||
set autocommit=0; # open transaction
|
||||
begin;
|
||||
begin;
|
||||
insert into t1 values(1); # write to master
|
||||
commit;
|
||||
drop table t1;
|
||||
|
@ -6,7 +6,7 @@ drop table if exists t1;
|
||||
|
||||
create table t1 (id integer);
|
||||
set autocommit=0; # open transaction
|
||||
begin;
|
||||
begin;
|
||||
insert into t1 values(1); # write to master
|
||||
commit;
|
||||
select count(*) from t1; # read from master since autocommit is disabled
|
||||
|
@ -6,7 +6,7 @@ drop table if exists t1;
|
||||
|
||||
create table t1 (id integer);
|
||||
set autocommit=0; # open transaction
|
||||
begin;
|
||||
begin;
|
||||
insert into t1 values(1); # write to master
|
||||
commit;
|
||||
select count(*) from t1; # read from master since autocommit is disabled
|
||||
|
@ -1,16 +1,16 @@
|
||||
--source testconf.inc
|
||||
USE test;
|
||||
USE test;
|
||||
--disable_warnings
|
||||
DROP TABLE IF EXISTS myCity;
|
||||
--enable_warnings
|
||||
SET autocommit = 0;
|
||||
START TRANSACTION;
|
||||
CREATE TABLE myCity (a int, b char(20));
|
||||
INSERT INTO myCity VALUES (1, 'Milan');
|
||||
INSERT INTO myCity VALUES (2, 'London');
|
||||
COMMIT;
|
||||
START TRANSACTION;
|
||||
SET autocommit = 0;
|
||||
START TRANSACTION;
|
||||
CREATE TABLE myCity (a int, b char(20));
|
||||
INSERT INTO myCity VALUES (1, 'Milan');
|
||||
INSERT INTO myCity VALUES (2, 'London');
|
||||
COMMIT;
|
||||
START TRANSACTION;
|
||||
DELETE FROM myCity;
|
||||
SELECT COUNT(*) FROM myCity; # read transaction's modifications from master
|
||||
SELECT COUNT(*) FROM myCity; # read transaction's modifications from master
|
||||
COMMIT;
|
||||
DROP TABLE myCity;
|
||||
|
@ -1,15 +1,15 @@
|
||||
--source testconf.inc
|
||||
USE test;
|
||||
USE test;
|
||||
--disable_warnings
|
||||
DROP TABLE IF EXISTS myCity;
|
||||
--enable_warnings
|
||||
SET autocommit = Off;
|
||||
START TRANSACTION;
|
||||
CREATE TABLE myCity (a int, b char(20));
|
||||
INSERT INTO myCity VALUES (1, 'Milan');
|
||||
INSERT INTO myCity VALUES (2, 'London');
|
||||
COMMIT;
|
||||
START TRANSACTION;
|
||||
SET autocommit = Off;
|
||||
START TRANSACTION;
|
||||
CREATE TABLE myCity (a int, b char(20));
|
||||
INSERT INTO myCity VALUES (1, 'Milan');
|
||||
INSERT INTO myCity VALUES (2, 'London');
|
||||
COMMIT;
|
||||
START TRANSACTION;
|
||||
DELETE FROM myCity;
|
||||
SELECT COUNT(*) FROM myCity; # read transaction's modifications from master
|
||||
COMMIT;
|
||||
|
@ -1,13 +1,13 @@
|
||||
--source testconf.inc
|
||||
USE test;
|
||||
USE test;
|
||||
--disable_warnings
|
||||
DROP TABLE IF EXISTS myCity;
|
||||
--enable_warnings
|
||||
|
||||
SET autocommit = 0;
|
||||
CREATE TABLE myCity (a int, b char(20));
|
||||
INSERT INTO myCity VALUES (1, 'Milan');
|
||||
INSERT INTO myCity VALUES (2, 'London');
|
||||
SET autocommit = 0;
|
||||
CREATE TABLE myCity (a int, b char(20));
|
||||
INSERT INTO myCity VALUES (1, 'Milan');
|
||||
INSERT INTO myCity VALUES (2, 'London');
|
||||
COMMIT;
|
||||
DELETE FROM myCity; # implicit transaction started
|
||||
SELECT COUNT(*) FROM myCity; # read transaction's modifications from master
|
||||
|
@ -1,13 +1,13 @@
|
||||
--source testconf.inc
|
||||
USE test;
|
||||
USE test;
|
||||
--disable_warnings
|
||||
DROP TABLE IF EXISTS myCity;
|
||||
--enable_warnings
|
||||
|
||||
SET autocommit = oFf;
|
||||
CREATE TABLE myCity (a int, b char(20));
|
||||
INSERT INTO myCity VALUES (1, 'Milan');
|
||||
INSERT INTO myCity VALUES (2, 'London');
|
||||
SET autocommit = oFf;
|
||||
CREATE TABLE myCity (a int, b char(20));
|
||||
INSERT INTO myCity VALUES (1, 'Milan');
|
||||
INSERT INTO myCity VALUES (2, 'London');
|
||||
COMMIT;
|
||||
DELETE FROM myCity; # implicit transaction started
|
||||
SELECT COUNT(*) FROM myCity; # read transaction's modifications from master
|
||||
|
Reference in New Issue
Block a user