Remove trailing whitespace

Removed trailing whitespace in tests and build scripts.
This commit is contained in:
Markus Mäkelä
2017-05-26 14:29:28 +03:00
parent 5c512a3945
commit 957b50c811
54 changed files with 141 additions and 141 deletions

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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