Skip to content

Commit

Permalink
Merge pull request #20 from maklff/sqlstate
Browse files Browse the repository at this point in the history
Fixed segfault issue when NOT_KNOWN_ERROR
  • Loading branch information
munakoiso authored Feb 9, 2023
2 parents ea27e55 + f626b4f commit cd5080b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logerrors.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ put_values_to_tuple(
long_interval_values[6] = CStringGetTextDatum(unpack_sql_state(err_code.num));
}
else {
long_interval_values[6] = true;
long_interval_nulls[6] = true;
}

if (elem->counter > 0) {
Expand Down

0 comments on commit cd5080b

Please sign in to comment.