Add error codes for sql module, !! Please Read Task Description Carefully!!

This commit is contained in:
obdev
2023-08-01 17:18:33 +00:00
committed by ob-robot
parent a706aa36a0
commit a56c5b6dec
63 changed files with 106 additions and 67 deletions

View File

@ -1309,7 +1309,7 @@ int ObRADatumStore::finish_add_row()
const bool finish_add = true;
if (OB_FAIL(switch_block(min_size))) {
LOG_WARN("write last block to file failed", K(ret), K(min_size));
} else if (switch_idx_block(finish_add)) {
} else if (OB_FAIL(switch_idx_block(finish_add))) {
LOG_WARN("write last index block to file failed", K(ret), K(ret));
} else if (OB_FAIL(get_timeout(timeout_ms))) {
LOG_WARN("get timeout failed", K(ret));

View File

@ -1089,7 +1089,7 @@ int ObRARowStore::finish_add_row()
const bool finish_add = true;
if (OB_FAIL(switch_block(min_size))) {
LOG_WARN("write last block to file failed", K(ret), K(min_size));
} else if (switch_idx_block(finish_add)) {
} else if (OB_FAIL(switch_idx_block(finish_add))) {
LOG_WARN("write last index block to file failed", K(ret), K(ret));
} else if (OB_FAIL(get_timeout(timeout_ms))) {
LOG_WARN("get timeout failed", K(ret));