1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-32751 sys schema view session_ssl_status is empty

* treat FUNC/ARRAY variables as SESSION (otherwise they won't be shown)
* allow SHOW_SIMPLE_FUNC everywhere where SHOW_FUNC is
* increase row buffer size to avoid "too short" assert
This commit is contained in:
Sergei Golubchik
2023-11-24 17:45:16 +01:00
parent 4231cf6d3f
commit d9cb1a2b7e
4 changed files with 29 additions and 5 deletions

View File

@ -1,4 +1,22 @@
connect ssl_con,localhost,root,,,,,SSL;
select variable_name from performance_schema.status_by_thread where VARIABLE_NAME LIKE 'Ssl%';
variable_name
Ssl_cipher
Ssl_cipher_list
Ssl_default_timeout
Ssl_server_not_after
Ssl_server_not_before
Ssl_verify_depth
Ssl_verify_mode
Ssl_version
Ssl_cipher
Ssl_cipher_list
Ssl_default_timeout
Ssl_server_not_after
Ssl_server_not_before
Ssl_verify_depth
Ssl_verify_mode
Ssl_version
SELECT (VARIABLE_VALUE <> '') AS have_ssl FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_cipher';
have_ssl
1