summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/socket.h
diff options
context:
space:
mode:
authorHiroshi Inoue2001-06-19 02:17:06 +0000
committerHiroshi Inoue2001-06-19 02:17:06 +0000
commit76d38cb0c693985f8a2473e1bcd2ff093aebfe62 (patch)
tree425be1b1990acce878ad4bd239b8e05bd3d061ba /src/interfaces/odbc/socket.h
parent3709a5ada7e033c0cc4551018df4433e09abc001 (diff)
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.
Diffstat (limited to 'src/interfaces/odbc/socket.h')
-rw-r--r--src/interfaces/odbc/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/odbc/socket.h b/src/interfaces/odbc/socket.h
index 67391767384..b4a55e57db6 100644
--- a/src/interfaces/odbc/socket.h
+++ b/src/interfaces/odbc/socket.h
@@ -86,7 +86,7 @@ void SOCK_Destructor(SocketClass *self);
char SOCK_connect_to(SocketClass *self, unsigned short port, char *hostname);
void SOCK_get_n_char(SocketClass *self, char *buffer, int len);
void SOCK_put_n_char(SocketClass *self, char *buffer, int len);
-void SOCK_get_string(SocketClass *self, char *buffer, int bufsize);
+BOOL SOCK_get_string(SocketClass *self, char *buffer, int bufsize);
void SOCK_put_string(SocketClass *self, char *string);
int SOCK_get_int(SocketClass *self, short len);
void SOCK_put_int(SocketClass *self, int value, short len);