oceanbase / oceanbase/miniob

support show variable

Open
#542 2 comments 0 reactions 1 assignee View on GitHub

@zywoote3ture is already working on this.

Since Dec 30, 2025.

enhancement help wanted
Dominant language
C++
Stars
4.4k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

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        |
+------------------+-------------+

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.