patch backup piece to 3.1. open source

This commit is contained in:
xuhuleon
2021-09-02 15:26:39 +08:00
committed by wangzelin.wzl
parent 153f16ad8a
commit 62cb470338
314 changed files with 88279 additions and 35466 deletions

View File

@ -1484,7 +1484,7 @@ bool ObSQLUtils::is_readonly_stmt(ParseResult& result)
T_COMMIT == type || T_ROLLBACK == type || T_VARIABLE_SET == type ||
T_SET_NAMES == type // read only not restrict it
|| T_SET_CHARSET == type // read only not restrict it
|| T_SHOW_RECYCLEBIN == type || T_SHOW_TENANT == type) {
|| T_SHOW_RECYCLEBIN == type || T_SHOW_TENANT == type || T_SHOW_RESTORE_PREVIEW == type) {
ret = true;
}
}