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

@ -1,7 +1,7 @@
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a <INT_COLUMN>, b <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
REPLACE INTO t1 (a,b) VALUES (1,'a'),(2,'b'),(3,'c'),(4,'d'),(5,'e');
SELECT * FROM t1;
SELECT a,b FROM t1;
a b
1 a
2 b
@ -9,7 +9,7 @@ a b
4 d
5 e
REPLACE t1 (a,b) VALUE (10,'foo'),(10,'foo');
SELECT * FROM t1;
SELECT a,b FROM t1;
a b
1 a
10 foo
@ -26,7 +26,7 @@ ERROR 23000: Duplicate entry '2' for key 'a'
# Statement ended with one of expected results (ER_DUP_ENTRY,ER_DUP_KEY).
# If you got a difference in error message, just add it to rdiff file
REPLACE INTO t1 (a,b) VALUES (2,'d');
SELECT * FROM t1;
SELECT a,b FROM t1;
a b
1 a
2 d
@ -39,7 +39,7 @@ ERROR 23000: Duplicate entry 'b' for key 'PRIMARY'
# Statement ended with one of expected results (ER_DUP_ENTRY,ER_DUP_KEY).
# If you got a difference in error message, just add it to rdiff file
REPLACE INTO t1 (a,b) VALUES (4,'b');
SELECT * FROM t1;
SELECT a,b FROM t1;
a b
1 a
3 c