summaryrefslogtreecommitdiff
path: root/mysql-test/r/archive.result
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-04-27 22:02:26 +0200
committerunknown <msvensson@neptunus.(none)>2005-04-27 22:02:26 +0200
commitcde34dfbf3721769894f60eb430bdf6034ebc3b9 (patch)
treedea1fe188d540e7416600ce788e45b0314b7ed6a /mysql-test/r/archive.result
parent758f5d0a59f40b24d05d8e409131138afb0880e1 (diff)
downloadmariadb-git-cde34dfbf3721769894f60eb430bdf6034ebc3b9.tar.gz
Little different behaviour in 5.0 and merge with new tests required these changes
mysql-test/r/archive.result: Changed order of tests so that the are before the unpredictable INSERT DELAYED Warning is produced during the rename mysql-test/t/archive.test: Changed order of tests so that the are before the unpredictable INSERT DELAYED Warning is produced during the rename
Diffstat (limited to 'mysql-test/r/archive.result')
-rw-r--r--mysql-test/r/archive.result30
1 files changed, 16 insertions, 14 deletions
diff --git a/mysql-test/r/archive.result b/mysql-test/r/archive.result
index c05f7a60e99..793e50cf653 100644
--- a/mysql-test/r/archive.result
+++ b/mysql-test/r/archive.result
@@ -184,6 +184,22 @@ fld1 fld3
250503 heaving
250504 population
250505 bomb
+create table t3 engine=archive select * from t2;
+select * from t3 where fld3='bonfire';
+auto fld1 companynr fld3 fld4 fld5 fld6
+1191 068504 00 bonfire corresponds positively
+select count(*) from t3;
+count(*)
+1199
+rename table t3 to t4;
+Warnings:
+Error 7 Error on rename of './test/t3.ARN' to './test/t4.ARN' (Errcode: 2)
+select * from t4 where fld3='bonfire';
+auto fld1 companynr fld3 fld4 fld5 fld6
+1191 068504 00 bonfire corresponds positively
+select count(*) from t4;
+count(*)
+1199
INSERT INTO t2 VALUES (1,000001,00,'Omaha','teethe','neat','');
INSERT INTO t2 VALUES (2,011401,37,'breaking','dreaded','Steinberg','W');
INSERT INTO t2 VALUES (3,011402,37,'Romans','scholastics','jarring','');
@@ -5020,18 +5036,4 @@ auto fld1 companynr fld3 fld4 fld5 fld6
3 011402 37 Romans scholastics jarring
4 011403 37 intercepted audiology tinily
INSERT DELAYED INTO t2 VALUES (4,011403,37,'intercepted','audiology','tinily','');
-create table t3 engine=archive select * from t2;
-select * from t3 where fld3='bonfire';
-auto fld1 companynr fld3 fld4 fld5 fld6
-1191 068504 00 bonfire corresponds positively
-select count(*) from t3;
-count(*)
-1203
-rename table t3 to t4;
-select * from t4 where fld3='bonfire';
-auto fld1 companynr fld3 fld4 fld5 fld6
-1191 068504 00 bonfire corresponds positively
-select count(*) from t4;
-count(*)
-1203
drop table t1, t2, t4;