1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-08 15:01:49 +03:00
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

7 lines
163 B
Plaintext

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