解决写转发,备机执行事务完成后执行ddl语句失败报错

This commit is contained in:
arcoalien@qq.com
2023-09-12 19:19:15 +08:00
parent db2a3a72b8
commit 70a5ecaf62

View File

@ -1094,6 +1094,10 @@ bool libpqsw_process_query_message(const char* commandTag, List* query_list, con
libpqsw_set_set_command(false);
libpqsw_set_redirect(false);
if (libpqsw_end_command(commandTag)) {
libpqsw_set_transaction(false);
}
if (get_redirect_manager()->ss_standby_state & SS_STANDBY_REQ_SELECT) {
need_redirect = false;
}