Changed the error handling as follows.
Hiroshi Inoue <inoue@tpf.co.jp>
Changed the error handling as follows. 1) ERRORs cause an SQL_ERROR and the SQLSTATE='S1000'. 2) NOTICEs cause an SQL_SUCCESS_WITH_INFO and the succeeding SQLError() returns the NOTICE message.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/odbc/connection.c | modified | +42 −18 |
| src/interfaces/odbc/socket.c | modified | +4 −2 |
| src/interfaces/odbc/socket.h | modified | +1 −1 |
| src/interfaces/odbc/statement.c | modified | +5 −6 |