stmt is double-freed
This commit is contained in:
@ -594,17 +594,7 @@ public:
|
||||
return ret;
|
||||
}
|
||||
|
||||
inline int free_stmt(ObSelectStmt* stmt)
|
||||
{
|
||||
int ret = common::OB_SUCCESS;
|
||||
if (OB_UNLIKELY(NULL == stmt)) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
SQL_RESV_LOG(WARN, "unexpected null");
|
||||
} else if (OB_FAIL(free_list_.store_obj(stmt))) {
|
||||
SQL_RESV_LOG(WARN, "store stmt failed", K(ret));
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
int free_stmt(ObSelectStmt *stmt);
|
||||
|
||||
void destory();
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user