summaryrefslogtreecommitdiff
path: root/mysql-test/main/status.test
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2018-04-26 23:12:51 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2018-04-26 23:12:51 +0400
commit6e42d19f2599b12ac3ff5a82fdcd59e2c261f98c (patch)
treea5b615478690b5fa830a948b2c3310cb50663366 /mysql-test/main/status.test
parentcd48c1e23a0ca203d87786ae9b0f53aff4c1b433 (diff)
downloadmariadb-git-6e42d19f2599b12ac3ff5a82fdcd59e2c261f98c.tar.gz
MDEV-15915 Add Feature_json status variable.
Related implementations.
Diffstat (limited to 'mysql-test/main/status.test')
-rw-r--r--mysql-test/main/status.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/main/status.test b/mysql-test/main/status.test
index 92fba9ab0a6..221a24aedf4 100644
--- a/mysql-test/main/status.test
+++ b/mysql-test/main/status.test
@@ -430,6 +430,13 @@ FLUSH STATUS;
SHOW STATUS LIKE 'Threads_running';
SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='THREADS_RUNNING';
+--echo #
+--echo # MDEV-15915 Add Feature_json status variable.
+--echo #
+SHOW STATUS LIKE 'Feature_json';
+select json_valid('123');
+SHOW STATUS LIKE 'Feature_json';
+
# Restore global concurrent_insert value. Keep in the end of the test file.
--connection default
set @@global.concurrent_insert= @old_concurrent_insert;