diff options
Diffstat (limited to 'mysql-test/suite/sys_vars/t/version.test')
-rw-r--r-- | mysql-test/suite/sys_vars/t/version.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/suite/sys_vars/t/version.test b/mysql-test/suite/sys_vars/t/version.test new file mode 100644 index 00000000..35067a43 --- /dev/null +++ b/mysql-test/suite/sys_vars/t/version.test @@ -0,0 +1,7 @@ +SELECT @@version; +perl; + $cnt= $ENV{MYSQL_TEST} =~ /mysqltest_embedded / ? 1 : + grep /my_favorite_version/, `$ENV{MYSQL} -e status`; + print "$cnt\n"; +EOF +query_vertical select * from information_schema.system_variables where variable_name='version'; |