Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/feature/plcsql-p1n' into plcsq…
Browse files Browse the repository at this point in the history
…l-p1n-CBRD-25704
  • Loading branch information
jongmin-won committed Dec 4, 2024
2 parents 09d595a + 10fcab1 commit c5b23af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/object/class_object.c
Original file line number Diff line number Diff line change
Expand Up @@ -3007,6 +3007,11 @@ classobj_make_index_filter_pred_info (DB_SEQ * pred_seq)
{
goto error;
}

filter_predicate->pred_string = NULL;
filter_predicate->pred_stream = NULL;
filter_predicate->att_ids = NULL;

if (val_str_len > 0)
{
filter_predicate->pred_string = (char *) db_ws_alloc (val_str_len + 1);
Expand Down
4 changes: 2 additions & 2 deletions src/query/string_opfunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -8874,11 +8874,11 @@ qstr_grow_string (DB_VALUE * src_string, DB_VALUE * result, int new_size)
}
if (QSTR_IS_NATIONAL_CHAR (src_type))
{
result_type = DB_TYPE_NCHAR;
result_type = DB_TYPE_VARNCHAR;
}
else
{
result_type = DB_TYPE_CHAR;
result_type = DB_TYPE_VARCHAR;
}

codeset = db_get_string_codeset (src_string);
Expand Down

0 comments on commit c5b23af

Please sign in to comment.