Skip to content

Commit

Permalink
odbc: Fix typo in comment
Browse files Browse the repository at this point in the history
Signed-off-by: Frediano Ziglio <[email protected]>
  • Loading branch information
freddy77 committed Dec 30, 2024
1 parent 745eb66 commit a04a87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/odbc/odbc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2533,7 +2533,7 @@ odbc_errmsg_handler(const TDSCONTEXT * ctx, TDSSOCKET * tds, TDSMESSAGE * msg)
odbc_errs_add_rdbms(errs, msg->msgno, state, msg->message, msg->line_number, msg->severity,
msg->server, stmt ? stmt->curr_param_row + 1 : 0);

/* set lastc according */
/* set lastrc according */
if (severity <= 10) {
if (errs->lastrc == SQL_SUCCESS)
errs->lastrc = SQL_SUCCESS_WITH_INFO;
Expand Down

0 comments on commit a04a87c

Please sign in to comment.