summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-11-29 22:49:02 +0100
committerunknown <msvensson@neptunus.(none)>2006-11-29 22:49:02 +0100
commit7bc069d16452c1d2b22a41b5eab1ee0d72fc73d3 (patch)
tree7a54d8949749037908f9c83a9304a3431f748d50 /mysql-test/mysql-test-run.pl
parentb3273629e2752d0753c8228449953dd2390ee477 (diff)
downloadmariadb-git-7bc069d16452c1d2b22a41b5eab1ee0d72fc73d3.tar.gz
After 5.1.6 just turn on logging, it will be sent to tables by default
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 0859b02167c..0b630c1f722 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -3474,6 +3474,11 @@ sub mysqld_arguments ($$$$$) {
# Force mysqld to use log files up until 5.1.6
mtr_add_arg($args, "%s--log=%s", $prefix, $master->[0]->{'path_mylog'});
}
+ else
+ {
+ # Turn on logging, will be sent to tables
+ mtr_add_arg($args, "%s--log=", $prefix);
+ }
}
if ( $type eq 'slave' )
@@ -3557,6 +3562,11 @@ sub mysqld_arguments ($$$$$) {
# Force mysqld to use log files up until 5.1.6
mtr_add_arg($args, "%s--log=%s", $prefix, $master->[0]->{'path_mylog'});
}
+ else
+ {
+ # Turn on logging, will be sent to tables
+ mtr_add_arg($args, "%s--log=", $prefix);
+ }
} # end slave