diff options
author | unknown <svoj@mysql.com/june.mysql.com> | 2007-03-31 12:24:28 +0500 |
---|---|---|
committer | unknown <svoj@mysql.com/june.mysql.com> | 2007-03-31 12:24:28 +0500 |
commit | 55b096b8f054ec5b68630e6822a8a311a1a4da4d (patch) | |
tree | ef3991023f0e4d9299ff44cc75fa8d13dc94c462 /mysql-test | |
parent | fe8c67effa5b11ccb7ed668c6cfcec39f756281d (diff) | |
parent | 0da1a0cdecd77d98c4e849030a2efa9774c5f536 (diff) | |
download | mariadb-git-55b096b8f054ec5b68630e6822a8a311a1a4da4d.tar.gz |
Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0-engines
into mysql.com:/home/svoj/devel/mysql/BUG26138/mysql-5.0-engines
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/archive.result | 9 | ||||
-rw-r--r-- | mysql-test/t/archive.test | 10 |
2 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/r/archive.result b/mysql-test/r/archive.result index f73a80dde65..d89cecedcdd 100644 --- a/mysql-test/r/archive.result +++ b/mysql-test/r/archive.result @@ -12355,3 +12355,12 @@ auto fld1 companynr fld3 fld4 fld5 4 011403 37 intercepted audiology tinily 4 011403 37 intercepted audiology tinily drop table t1, t2, t4; +create table t1 (i int) engine=archive; +insert into t1 values (1); +repair table t1 use_frm; +Table Op Msg_type Msg_text +test.t1 repair status OK +select * from t1; +i +1 +drop table t1; diff --git a/mysql-test/t/archive.test b/mysql-test/t/archive.test index 80533f21311..0ffbfab3d4f 100644 --- a/mysql-test/t/archive.test +++ b/mysql-test/t/archive.test @@ -1364,3 +1364,13 @@ SELECT * from t2; drop table t1, t2, t4; + +# +# BUG#26138 - REPAIR TABLE with option USE_FRM erases all records in ARCHIVE +# table +# +create table t1 (i int) engine=archive; +insert into t1 values (1); +repair table t1 use_frm; +select * from t1; +drop table t1; |