Fixed the issue where the column could not be queried after the column default value was deleted

This commit is contained in:
hwx65
2024-03-13 08:27:29 +00:00
committed by ob-robot
parent a88b712c55
commit 3b2bc2118f
3 changed files with 14 additions and 2 deletions

View File

@ -2353,6 +2353,7 @@ int ObSQLSessionInfo::get_sequence_value(uint64_t tenant_id,
int ret = OB_SUCCESS;
if (OB_UNLIKELY(OB_INVALID_ID == tenant_id ||
OB_INVALID_ID == seq_id)) {
ret = OB_ERR_SEQ_NOT_EXIST;
LOG_WARN("invalid args", K(tenant_id), K(seq_id), K(ret));
} else if (OB_FAIL(sequence_currval_map_.get_refactored(seq_id, value))) {
LOG_WARN("fail get seq", K(tenant_id), K(seq_id), K(ret));