aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/environ.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/odbc/environ.c')
-rw-r--r--src/interfaces/odbc/environ.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/odbc/environ.c b/src/interfaces/odbc/environ.c
index 69718a19149..78737fbb332 100644
--- a/src/interfaces/odbc/environ.c
+++ b/src/interfaces/odbc/environ.c
@@ -245,6 +245,9 @@ PGAPI_StmtError( HSTMT hstmt,
case STMT_INVALID_CURSOR_STATE_ERROR:
strcpy(szSqlState, "24000");
break;
+ case STMT_ERROR_IN_ROW:
+ strcpy(szSqlState, "01S01");
+ break;
case STMT_OPTION_VALUE_CHANGED:
strcpy(szSqlState, "01S02");
break;