Skip to content

Commit

Permalink
[CBRD-25195] A core dump occurs when multiple tables and serial funct…
Browse files Browse the repository at this point in the history
…ions are used simultaneously in one query. (#4897) (#5094)

http://jira.cubrid.org/browse/CBRD-25195

This is a backport for 10.2 patch
  • Loading branch information
beyondykk9 authored Apr 9, 2024
1 parent 39867b4 commit 4cfdcf2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/parser/xasl_generation.c
Original file line number Diff line number Diff line change
Expand Up @@ -17206,6 +17206,11 @@ pt_spec_to_xasl_class_oid_list (PARSER_CONTEXT * parser, const PT_NODE * spec, O
free_and_init (*oid_listp);
}

if (*lock_listp)
{
free_and_init (*lock_listp);
}

if (*tcard_listp)
{
free_and_init (*tcard_listp);
Expand Down Expand Up @@ -17349,6 +17354,7 @@ pt_serial_to_xasl_class_oid_list (PARSER_CONTEXT * parser, const PT_NODE * seria
*nump = o_num;
*sizep = o_size;
*oid_listp = o_list;
*lock_listp = lck_list;
*tcard_listp = t_list;

return o_num;
Expand All @@ -17359,6 +17365,11 @@ pt_serial_to_xasl_class_oid_list (PARSER_CONTEXT * parser, const PT_NODE * seria
free_and_init (*oid_listp);
}

if (*lock_listp)
{
free_and_init (*lock_listp);
}

if (*tcard_listp)
{
free_and_init (*tcard_listp);
Expand Down

0 comments on commit 4cfdcf2

Please sign in to comment.