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 6de5c50c4e3..7c8f80dd8f2 100644
--- a/src/interfaces/odbc/environ.c
+++ b/src/interfaces/odbc/environ.c
@@ -281,6 +281,9 @@ PGAPI_StmtError( HSTMT hstmt,
case STMT_INVALID_OPTION_IDENTIFIER:
strcpy(szSqlState, "HY092");
break;
+ case STMT_OPTION_NOT_FOR_THE_DRIVER:
+ strcpy(szSqlState, "HYC00");
+ break;
case STMT_EXEC_ERROR:
default:
strcpy(szSqlState, "S1000");