[FEAT MERGE] patch mysql xa from 425 to 435

This commit is contained in:
jw-guo
2024-11-21 08:45:04 +00:00
committed by ob-robot
parent e63b95a490
commit 8f3fafe9f2
37 changed files with 2310 additions and 211 deletions

View File

@ -1754,6 +1754,12 @@ bool ObSQLUtils::is_readonly_stmt(ParseResult &result)
|| T_SHOW_SEQUENCES == type
|| T_SHOW_ENGINE == type
|| T_SHOW_OPEN_TABLES == type
|| T_XA_START == type
|| T_XA_END == type
|| T_XA_PREPARE == type
|| T_XA_COMMIT == type
|| T_XA_ROLLBACK == type
|| T_XA_RECOVER == type
|| (T_SET_ROLE == type && lib::is_mysql_mode())
|| T_SHOW_CREATE_USER == type) {
ret = true;