oceanbase/miniob

support show variable

Open

#542 aperta il 7 apr 2025

Vedi su GitHub
 (2 commenti) (0 reazioni) (1 assegnatario)C++ (1622 fork)auto 404
enhancementhelp wanted

Metriche repository

Star
 (4387 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Enhancement currently, miniob only support set variable.

set sql_debug=0;

you should support show variable in miniob. for example:

SELECT * FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME = 'sql_debug';
SHOW VARIABLES LIKE 'sql_debug';
+------------------+-------------+
| Variable_name    | Value       |
+------------------+-------------+
| sql_debug        | true        |
+------------------+-------------+

Guida contributor