Skip to content

Commit

Permalink
{178104164} Log carray length in reqlog
Browse files Browse the repository at this point in the history
Signed-off-by: Salil Chandra <[email protected]>
  • Loading branch information
chands10 committed Jan 31, 2025
1 parent 4e9456b commit f7cee63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/reqlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -1692,6 +1692,8 @@ char *param_string_value(struct sqlclntstate *clnt, int n, char *out, int outlen
char *type = CLIENT_TYPE_TO_STR(p.type);
if (p.null || p.type == COMDB2_NULL_TYPE) {
snprintf(value, sizeof(value), "null");
} else if (p.arraylen) {
snprintf(value, sizeof(value), "carray of length %d", p.arraylen);
} else {
switch (p.type) {
case CLIENT_UINT:
Expand Down

0 comments on commit f7cee63

Please sign in to comment.