diff options
author | Magne Mahre <magne.mahre@sun.com> | 2009-11-25 20:22:45 +0100 |
---|---|---|
committer | Magne Mahre <magne.mahre@sun.com> | 2009-11-25 20:22:45 +0100 |
commit | 0b8696591aa7516d3f87ffb7de5a4201c27c81f3 (patch) | |
tree | ad4b737cb62972680806f7fbf9f7aaa12d49d76e /mysql-test/r/myisampack.result | |
parent | 952f8bda788133a12ab51600c3e42617b5c10664 (diff) | |
download | mariadb-git-0b8696591aa7516d3f87ffb7de5a4201c27c81f3.tar.gz |
Addition to BUG#36573 - myisampack --join does not create destination table
.frm file
Added FLUSH TABLES before myisampack --join operation to fix the test
warnings or errors
Removed unused variable in create_dest_frm() method
Diffstat (limited to 'mysql-test/r/myisampack.result')
-rw-r--r-- | mysql-test/r/myisampack.result | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/r/myisampack.result b/mysql-test/r/myisampack.result index 3f94669108f..1efde35ba9f 100644 --- a/mysql-test/r/myisampack.result +++ b/mysql-test/r/myisampack.result @@ -91,12 +91,14 @@ CREATE TABLE t1(a INT); INSERT INTO t1 VALUES(20); CREATE TABLE t2(a INT); INSERT INTO t2 VALUES(40); +FLUSH TABLE t1,t2; #If the myisampack --join operation is successful, we have table t3(.frm) #so we should be able to query about the table from server. SELECT COUNT(a) FROM t3; COUNT(a) 1024 # ===== myisampack.2 ===== +FLUSH TABLE t3; #Tests the myisampack join operation with an existing destination .frm file, #the command should return correct exit status(0) and #we should be able to query the table. |