summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2011-02-03 01:01:12 +0200
committerMichael Widenius <monty@askmonty.org>2011-02-03 01:01:12 +0200
commit1027b4cfc9ae6961c6b2e2b38858e6289fc5500d (patch)
tree3af11f428725ec19004ab09972915b290ef42be7 /mysql-test/mysql-test-run.pl
parent336023b6b421b9ac4f3fda14f6f7b0e5ff7bd8e6 (diff)
downloadmariadb-git-1027b4cfc9ae6961c6b2e2b38858e6289fc5500d.tar.gz
Don't delete directory mysql-test/var if we use mysql-test-run --vardir=
Fixed error in Maria unittest Fixes other issues found by test case for lp:700623 "Aria recovery: ma_blockrec.c:3930: _ma_update_at_original_place: Assertion `block->org_bitmap_value == .." Fixes lp:670356 "Aria table "is marked as crashed and should be repaired" mysql-test/lib/v1/mysql-test-run.pl: Don't delete directory mysql-test/var if we use mysql-test-run --vardir= mysql-test/mysql-test-run.pl: Don't delete directory mysql-test/var if we use mysql-test-run --vardir= (Needed to be able to run multiple concurrent mysql-test-run's/randgen on the same server) Added extra supression storage/maria/ma_pagecache.c: Removed duplicate DBUG_PRINT information Added KEYCACHE_PRINT for printing information that was already printed to DBUG log (to get rid of some duplicated output) More comments Fixed bug that caused page block to be used by two treads at the same time (with different page information) Mark block->status with PCBLOCK_DIRECT_W independent of the block is changed or not. (Safety fix) storage/maria/maria_chk.c: Better --help storage/maria/unittest/ma_test_recovery.pl: Ignore differences in 'recover time'. Fixed error in Maria unittest
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl9
1 files changed, 5 insertions, 4 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 2cdcdc6e7ac..a409159b7c0 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -2290,10 +2290,10 @@ sub remove_stale_vardir () {
# Running with "var" in some other place
#
- # Remove the var/ dir in mysql-test dir if any
- # this could be an old symlink that shouldn't be there
- mtr_verbose("Removing $default_vardir");
- rmtree($default_vardir);
+ # Don't remove the var/ dir in mysql-test dir as it may be in
+ # use by another mysql-test-run run with --vardir
+ # mtr_verbose("Removing $default_vardir");
+ # rmtree($default_vardir);
# Remove the "var" dir
mtr_verbose("Removing $opt_vardir/");
@@ -4315,6 +4315,7 @@ sub extract_warning_lines ($) {
qr/Plugin 'ndbcluster' will be forced to shutdown/,
qr/InnoDB: Error: in ALTER TABLE `test`.`t[12]`/,
qr/InnoDB: Error: table `test`.`t[12]` does not exist in the InnoDB internal/,
+ qr/InnoDB: Warning: a long semaphore wait:/,
qr/Slave: Unknown table 't1' Error_code: 1051/,
qr/Slave SQL:.*(Error_code: [[:digit:]]+|Query:.*)/,
qr/slave SQL thread aborted/,