[FEAT MERGE] merge recover table

Co-authored-by: hamstersox <673144759@qq.com>
Co-authored-by: skylhd <dickylhd@gmail.com>
Co-authored-by: HaHaJeff <jeffzhouhhh@gmail.com>
This commit is contained in:
wxhwang
2023-09-05 06:47:00 +00:00
committed by ob-robot
parent bed8398a6b
commit f4bf5f41c9
147 changed files with 31068 additions and 1341 deletions

View File

@ -541,7 +541,7 @@ int ObInnerTableOperator::compare_and_swap(
LOG_WARN("invalid new_value", K(ret), K(key), K(column_name), K(old_value), K(new_value));
} else if (OB_FAIL(sql.assign_fmt("%s='%s'", column_name, new_value))) {
LOG_WARN("fail to assign sql", K(ret), K(key), K(column_name), K(old_value), K(new_value));
} else if (OB_FAIL(predicates.assign_fmt("%s=%s", column_name, old_value))) {
} else if (OB_FAIL(predicates.assign_fmt("%s='%s'", column_name, old_value))) {
LOG_WARN("fail to assign sql", K(ret), K(key), K(column_name), K(old_value), K(new_value));
} else if (OB_FAIL(do_compare_and_swap_(proxy, key, sql.ptr(), predicates.ptr(), affected_rows))) {
LOG_WARN("fail to update column", K(ret), K(key), K(column_name), K(old_value), K(new_value));