freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Peter Deacon <peterd AT iea-software.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: [freetds] SqlStates
- Date: Sun, 30 Mar 2003 21:14:28 -0800 (Pacific Standard Time)
zzzzz is a generic state Sybase sends to indiciate an error is generated
by the server. Added a check to null it out as we can do better mapping
native errors :)
In token.c::tds_process_msg
/* Read SQL state */
...
msg_info.sql_state[len_sqlstate] = '\0';
if (strcmp(msg_info.sql_state,"ZZZZZ") == 0) {
free(msg_info.sql_state);
msg_info.sql_state = NULL;
}
Have Fun!
Peter
-
[freetds] SqlStates,
Peter Deacon, 03/31/2003
- <Possible follow-up(s)>
- RE: [freetds] SqlStates, ZIGLIO Frediano, 03/31/2003
Archive powered by MHonArc 2.6.24.