diff options
author | unknown <msvensson@neptunus.(none)> | 2005-04-27 22:20:58 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2005-04-27 22:20:58 +0200 |
commit | a1b0139fe7bfcd65312b07d267d40761eac1ca67 (patch) | |
tree | 6ad95df674d02e99cdfa846afc36b6eb635b2526 /mysql-test/r/archive.result | |
parent | cde34dfbf3721769894f60eb430bdf6034ebc3b9 (diff) | |
download | mariadb-git-a1b0139fe7bfcd65312b07d267d40761eac1ca67.tar.gz |
BUG#9911 RENAME TABLE of type ARCHIVE fails with .ARN file error
- Different behaviuor in 5.0 pushes a warning when renaming a non existent file. Avoid that by checking that the file exists before renaming.
mysql-test/r/archive.result:
Warning is not produced anymore
sql/examples/ha_archive.cc:
Change ha_archive::rename_table to avoid warning when trying to rename non existent file.
Diffstat (limited to 'mysql-test/r/archive.result')
-rw-r--r-- | mysql-test/r/archive.result | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mysql-test/r/archive.result b/mysql-test/r/archive.result index 793e50cf653..9cd5bba267f 100644 --- a/mysql-test/r/archive.result +++ b/mysql-test/r/archive.result @@ -192,8 +192,6 @@ 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 |