Repository navigation
Closed
Labels
kind/bugSomething isn't workingphase/testingseverity/s0Active / top priority for current sprint. Owner has committed to working on it now.
Milestone
Description
Is there an existing issue for the same bug?
- I have checked the existing issues.
Environment
- Version or commit-id (e.g. v0.1.0 or 8b23a93): 1.0-dev nightly-70b86219
- Hardware parameters:
- OS type:
- Others:Actual Behavior
Connect to MO:
- Do not use any database, the version is correct
- Use the default databases, e.g. system, the version is correct
- Create a new database, and use it, the version is incorrect
MySQL [(none)]> select version();
+-------------------------+
| version() |
+-------------------------+
| 8.0.30-MatrixOne-v1.0.0 |
+-------------------------+
1 row in set (0.00 sec)
MySQL [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| mo_catalog |
| system |
| system_metrics |
| information_schema |
| mysql |
| test_db |
+--------------------+
6 rows in set (0.08 sec)
MySQL [(none)]> use system;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MySQL [system]> select version();
+-------------------------+
| version() |
+-------------------------+
| 8.0.30-MatrixOne-v1.0.0 |
+-------------------------+
1 row in set (0.01 sec)
MySQL [system]> use mo_catalog;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MySQL [mo_catalog]> select version();
+-------------------------+
| version() |
+-------------------------+
| 8.0.30-MatrixOne-v1.0.0 |
+-------------------------+
1 row in set (0.00 sec)
MySQL [mo_catalog]> use mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MySQL [mysql]> select version();
+-------------------------+
| version() |
+-------------------------+
| 8.0.30-MatrixOne-v1.0.0 |
+-------------------------+
1 row in set (0.00 sec)
MySQL [mysql]> create database test;
Query OK, 1 row affected (0.01 sec)
MySQL [mysql]> use test;
Database changed
MySQL [test]> select version();
+-----------+
| version() |
+-----------+
| 0.7 |
+-----------+
1 row in set (0.00 sec)
Expected Behavior
Return the correct version in all cases
Steps to Reproduce
See detail in `Actual Behavior`Additional information
No response
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingphase/testingseverity/s0Active / top priority for current sprint. Owner has committed to working on it now.
Activity
28 remaining items
YANGGMM commentedon Aug 15, 2024
还在看
YANGGMM commentedon Aug 20, 2024
还在看
YANGGMM commentedon Aug 23, 2024
还在看
YANGGMM commentedon Aug 28, 2024
有空看
YANGGMM commentedon Sep 2, 2024
有空看
YANGGMM commentedon Sep 4, 2024
还在看
YANGGMM commentedon Sep 9, 2024
正在做
YANGGMM commentedon Sep 13, 2024
不知道是否需要合入1.2.3
YANGGMM commentedon Sep 18, 2024
不知道是否需要合入1.2.3
YANGGMM commentedon Sep 19, 2024
fixed,plz test @aressu1985
Songxx-7 commentedon Oct 31, 2024
mysql> select version();
+-------------------------+
| version() |
+-------------------------+
| 8.0.30-MatrixOne-v1.2.3 |
+-------------------------+
1 row in set (0.00 sec)
mysql> select node_id from processlist() a where conn_id=connection_id();
+--------------------------------------+
| node_id |
+--------------------------------------+
| dd1dccb4-4d3c-41f8-b482-5251dc7a41bf |
+--------------------------------------+
1 row in set (0.00 sec)