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

@ -426,6 +426,18 @@ Threads_running 1
SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='THREADS_RUNNING';
VARIABLE_VALUE
1
#
# MDEV-15915 Add Feature_json status variable.
#
SHOW STATUS LIKE 'Feature_json';
Variable_name Value
Feature_json 0
select json_valid('123');
json_valid('123')
1
SHOW STATUS LIKE 'Feature_json';
Variable_name Value
Feature_json 1
connection default;
set @@global.concurrent_insert= @old_concurrent_insert;
SET GLOBAL log_output = @old_log_output;