You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Version or commit-id (e.g. v0.1.0 or 8b23a93):
- Hardware parameters:
- OS type:
- Others:
Actual Behavior
MO doesn't support set session transaction XXX . This is frequently used in SpringBoot applications, this will block the application to do anything.
MO may support this syntax without executing it.
mysql> set session transaction read only;ERROR 1064 (HY000): SQL parser error: You have an error in your SQL syntax; check the manual that corresponds to your MatrixOne server version for the right syntax to use. syntax error at line 1 column 28 near " read only";
mysql> set session transaction read write;ERROR 1064 (HY000): SQL parser error: You have an error in your SQL syntax; check the manual that corresponds to your MatrixOne server version for the right syntax to use. syntax error at line 1 column 28 near " read write";
This issue is more like a feature rather than a bug. @domingozhang Could you please take a look? Would it be more appropriate to propose a corresponding feature issue instead?
this is a blocking issue.
it happens frequently with springboot applications:
mysql> SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE;
ERROR 1064 (HY000): SQL parser error: You have an error in your SQL syntax; check the manual that corresponds to your MatrixOne server version for the right syntax to use. syntax error at line 1 column 33 near " ISOLATION LEVEL SERIALIZABLE";
Activity
sukki37 commentedon Jun 15, 2023
This issue is more like a feature rather than a bug. @domingozhang Could you please take a look? Would it be more appropriate to propose a corresponding feature issue instead?
domingozhang commentedon Jun 15, 2023
will raise a new feature for read only session
daviszhen commentedon Jun 15, 2023
还没看
dengn commentedon Jun 19, 2023
this is a blocking issue.
it happens frequently with springboot applications:
daviszhen commentedon Jun 19, 2023
后续会加上
daviszhen commentedon Jun 21, 2023
it was fixed.
dengn commentedon Jun 23, 2023
Fixed.