-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: default value of autocommit is off and default value is not effective #10898
Comments
还没看 |
6 similar comments
还没看 |
还没看 |
还没看 |
还没看 |
还没看 |
还没看 |
@aressu1985 |
@aressu1985 而且git log 里面没找到 commit bdc86a4 |
最新代码, 复现步骤: |
bug 描述: 普通租户的默认autocommit配置为关闭的, Why? |
pr 卡在#10882 上了 |
it was fixed |
commitid root@test0:/data/mo/20230802/matrixone# mo_ctl get_cid
2023-08-10 10:41:33.641 UTC+0800 [INFO] Try get mo commit id
commit 8af14455f059e657890f4249ca63699476bb7f63
Author: XuPeng-SH <[email protected]>
Date: Thu Aug 10 00:01:28 2023 +0800
dn vector wrapper supports const vector (#11133)
2023-08-10 10:41:33.678 UTC+0800 [INFO] Get commit id succeeded Currently it seems setting |
Hello @aressu1985. The bug issue in the BVT test code has not been removed,issues automatically open. |
好像还有点问题。我在看下结果 |
已经确认了pr没问题。应该解决掉了。再转给苏动。 |
Is there an existing issue for the same bug?
Environment
Actual Behavior
the default value:
mysql> show variables like 'auto%';
+--------------------------+-------+
| Variable_name | Value |
+--------------------------+-------+
| auto_generate_certs | off |
| auto_increment_increment | 1 |
| auto_increment_offset | 1 |
| autocommit | on |
| automatic_sp_privileges | off |
+--------------------------+-------+
5 rows in set (0.01 sec)
but when run a insert in a txn and do not commit:
mysql> create table t1(a int);
Query OK, 0 rows affected (0.08 sec)
mysql> create table t1(a int);
Query OK, 0 rows affected (0.08 sec)
mysql> insert into t1 values(1);
Query OK, 1 row affected (0.03 sec)
in a another txn, it can see the result:
Database changed
mysql> select * from t1;
+------+
| a |
+------+
| 1 |
+------+
1 row in set (0.01 sec)
Expected Behavior
No response
Steps to Reproduce
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: