1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-4028 - Converted rdiff files to uniform

MDEV-11 - Modifed tests and result files to use explicit column lists
          in INSERT and SELECT statements
This commit is contained in:
Elena Stepanova
2013-02-03 02:53:57 +04:00
parent 1701ee3357
commit 7f444caa0a
213 changed files with 7031 additions and 5955 deletions

View File

@ -6,7 +6,7 @@ SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ;
connection con1;
CREATE TABLE t1 (a <INT_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
START TRANSACTION;
SELECT * FROM t1;
SELECT a FROM t1;
a
connection con2;
BEGIN;
@ -14,50 +14,50 @@ INSERT INTO t1 (a) VALUES(1);
# WARNING: Statement ended with errno 0, errname ''.
# If it differs from the result file, it might indicate a problem.
connection con1;
SELECT * FROM t1;
SELECT a FROM t1;
a
connection con2;
INSERT INTO t1 (a) VALUES (2);
# WARNING: Statement ended with errno 0, errname ''.
# If it differs from the result file, it might indicate a problem.
connection con1;
SELECT * FROM t1;
SELECT a FROM t1;
a
INSERT INTO t1 (a) SELECT a+100 FROM t1;
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
# WARNING: Statement ended with errno 1205, errname 'ER_LOCK_WAIT_TIMEOUT'.
# If it differs from the result file, it might indicate a problem.
SELECT * FROM t1;
SELECT a FROM t1;
a
connection con2;
SELECT * FROM t1;
SELECT a FROM t1;
a
1
2
COMMIT;
SELECT * FROM t1;
SELECT a FROM t1;
a
1
2
connection con1;
SELECT * FROM t1;
SELECT a FROM t1;
a
INSERT INTO t1 (a) SELECT a+200 FROM t1;
# WARNING: Statement ended with errno 0, errname ''.
# If it differs from the result file, it might indicate a problem.
SELECT * FROM t1;
SELECT a FROM t1;
a
201
202
COMMIT;
SELECT * FROM t1;
SELECT a FROM t1;
a
1
2
201
202
connection con2;
SELECT * FROM t1;
SELECT a FROM t1;
a
1
2