34 #include <freetds/tds.h>
35 #include <freetds/convert.h>
44 #if ENABLE_EXTRA_CHECKS
48 #define TEST_ATTRIBUTE(t,sa,fa,sb,fb) \
49 TDS_COMPILE_CHECK(t,sizeof(((sa*)0)->fa) == sizeof(((sb*)0)->fb) && TDS_OFFSET(sa,fa) == TDS_OFFSET(sb,fb))
84 msg->severity,
msg->message,
msg->server,
msg->proc_name,
msg->line_number);
96 static const char message[] =
"General SQL Server error: Check messages from the SQL Server";
int _dblib_handle_info_message(const TDSCONTEXT *tds_ctx, TDSSOCKET *tds, TDSMESSAGE *msg)
void _dblib_convert_err(DBPROCESS *dbproc, TDS_INT len)
int _dblib_handle_err_message(const TDSCONTEXT *tds_ctx, TDSSOCKET *tds, TDSMESSAGE *msg)
void _dblib_setTDS_version(TDSLOGIN *tds_login, DBINT version)
static DBPROCESS * dbproc
#define TDS_CONVERT_SYNTAX
#define TDS_CONVERT_OVERFLOW
#define TDS_CONVERT_NOMEM
#define TDS_CONVERT_NOAVAIL
tds_sysdep_int32_type TDS_INT
#define tds_get_parent(tds)
#define _dblib_msg_handler
#define _dblib_err_handler
int _dblib_check_and_handle_interrupt(void *vdbproc)
check interrupts for libtds.
const string version
version string
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
DB_DBCHKINTR_FUNC chkintr
DB_DBHNDLINTR_FUNC hndlintr
int msdblib
boolean use ms behaviour
Information for a server connection.