summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorBjorn Munch <Bjorn.Munch@sun.com>2009-08-11 12:59:43 +0200
committerBjorn Munch <Bjorn.Munch@sun.com>2009-08-11 12:59:43 +0200
commit013717d110af5d94eab703567ef72744c0d174e4 (patch)
tree1961b18ec7d7b70e272b65ff4cb88a2ae0cf8052 /mysql-test/mysql-test-run.pl
parent6ddeb379fe3b5dec58de5372666a640b1622659f (diff)
downloadmariadb-git-013717d110af5d94eab703567ef72744c0d174e4.tar.gz
Bug #44479 mysql-test-run does not detect that external server has Innodb support
Variable name mismatch Map variable have_innodb=YES to innodb=ON
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index e6e8a77f3ed..06f02afaf5b 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -1506,6 +1506,10 @@ sub collect_mysqld_features_from_running_server ()
}
}
+ # "Convert" innodb flag
+ $mysqld_variables{'innodb'}= "ON"
+ if ($mysqld_variables{'have_innodb'} eq "YES");
+
# Parse version
my $version_str= $mysqld_variables{'version'};
if ( $version_str =~ /^([0-9]*)\.([0-9]*)\.([0-9]*)/ )