mariadb/mysql-test/suite/sys_vars/t/version.test
Sergey Vojtovich 09cf0a6213 MDEV-7780 - Support for faking server version
Embedded now supports "--version=<version>", while "--version" is still silently
ignored. Also only run protocol check in non-embedded mode.
2015-12-24 20:08:42 +04:00

6 lines
163 B
Text

SELECT @@version;
perl;
$cnt= $ENV{MYSQL_TEST} =~ /mysqltest_embedded / ? 1 :
grep /my_favorite_version/, `$ENV{MYSQL} -e status`;
print "$cnt\n";
EOF