fix break miss in copy an equal node

This commit is contained in:
chenbd
2023-05-09 12:53:18 +08:00
parent afdc6a0ac3
commit 3a8b831d2e
2 changed files with 2 additions and 0 deletions

View File

@ -8689,6 +8689,7 @@ void* copyObject(const void* from)
break;
case T_ShowEventStmt:
retval =node_copy_show_event_info((ShowEventStmt *)from);
break;
case T_IndexHintRelationData:
retval = _copyIndexHintRelationData((IndexHintRelationData *)from);
break;

View File

@ -4436,6 +4436,7 @@ bool equal(const void* a, const void* b)
break;
case T_ShowEventStmt:
retval = node_equal_show_event_info((const ShowEventStmt *)a, (const ShowEventStmt *)b);
break;
case T_IndexHintDefinition:
retval = _equalIndexHintDefinition((IndexHintDefinition *)a, (IndexHintDefinition *)b);
break;