[FEAT MERGE]sql compat feature
Co-authored-by: Zach41 <zach_41@163.com>
This commit is contained in:
@ -797,9 +797,8 @@ int ObCmdExecutor::execute(ObExecContext &ctx, ObICmd &cmd)
|
||||
DEFINE_EXECUTE_CMD(ObDropSequenceStmt, ObDropSequenceExecutor);
|
||||
if (OB_SUCC(ret)) {
|
||||
ObDropSequenceStmt &stmt = *(static_cast<ObDropSequenceStmt*>(&cmd));
|
||||
const uint64_t tenant_id = stmt.get_arg().get_tenant_id();
|
||||
const uint64_t sequence_id = stmt.get_arg().get_sequence_id();
|
||||
if (OB_FAIL(my_session->drop_sequence_value_if_exists(tenant_id, sequence_id))) {
|
||||
if (OB_FAIL(my_session->drop_sequence_value_if_exists(sequence_id))) {
|
||||
LOG_WARN("failed to drop sequence value from session", K(ret));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user