fix table_item out-of-bounds access problem
This commit is contained in:
@ -817,8 +817,8 @@ int ObTransformSimplifySet::check_first_stmt_removable(common::ObIArray<ObParent
|
|||||||
{
|
{
|
||||||
int ret = OB_SUCCESS;
|
int ret = OB_SUCCESS;
|
||||||
can_remove = true;
|
can_remove = true;
|
||||||
ObDMLStmt* parent_stmt;
|
ObDMLStmt* parent_stmt = NULL;
|
||||||
TableItem* table_item;
|
TableItem* table_item = NULL;
|
||||||
bool is_dml_table = false;
|
bool is_dml_table = false;
|
||||||
if (parent_stmts.empty()) {
|
if (parent_stmts.empty()) {
|
||||||
// do nothing
|
// do nothing
|
||||||
|
|||||||
Reference in New Issue
Block a user