summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/sysschema/r/version_functions.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/sysschema/r/version_functions.result')
-rw-r--r--mysql-test/suite/sysschema/r/version_functions.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/suite/sysschema/r/version_functions.result b/mysql-test/suite/sysschema/r/version_functions.result
new file mode 100644
index 00000000..57082ebc
--- /dev/null
+++ b/mysql-test/suite/sysschema/r/version_functions.result
@@ -0,0 +1,6 @@
+SELECT sys.version_major();
+SELECT sys.version_minor();
+SELECT sys.version_patch();
+SELECT @my_version = SUBSTRING(VERSION(), 1, CHAR_LENGTH(@my_version));
+@my_version = SUBSTRING(VERSION(), 1, CHAR_LENGTH(@my_version))
+1