1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-15915 Add Feature_json status variable.

Related implementations.
This commit is contained in:
Alexey Botchkov
2018-04-26 23:12:51 +04:00
parent cd48c1e23a
commit 6e42d19f25
6 changed files with 48 additions and 0 deletions

View File

@ -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;