[FEAT MERGE] implement mysql dblink and read consistency
Co-authored-by: xianyu-w <707512433@qq.com> Co-authored-by: sdc <njucssdc@gmail.com> Co-authored-by: seuwebber <webber_code@163.com>
This commit is contained in:
@ -1370,6 +1370,9 @@ int ObSelectResolver::set_for_update_mysql(ObSelectStmt &stmt, const int64_t wai
|
||||
} else if (table_item->is_basic_table()) {
|
||||
table_item->for_update_ = true;
|
||||
table_item->for_update_wait_us_ = wait_us;
|
||||
} else if (table_item->is_link_table()) {
|
||||
ret = OB_NOT_SUPPORTED;
|
||||
LOG_WARN("mysql dblink not support select for update", K(ret));
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user