freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[ freetds-Patches-575613 ] Do not use global msg/err handlers
- From: noreply AT sourceforge.net
- To: noreply AT sourceforge.net
- Subject: [ freetds-Patches-575613 ] Do not use global msg/err handlers
- Date: Sun, 30 Jun 2002 01:46:50 -0700
Patches item #575613, was opened at 2002-06-30 10:46
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=575613&group_id=33106
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Frediano Ziglio (freddy77)
Assigned to: Nobody/Anonymous (nobody)
Summary: Do not use global msg/err handlers
Initial Comment:
Why?
Is some environment (think as apache with perl/db,
php/odbc and php/sybase) g_tds_err_handler and
g_tds_msg_handler (global pointer to function to catch
messages and errors from tds) can be shared between
some library (odbc, ctlib, dblib) causing some problem
(error sended to wrong library). This can depend also
by the system and how shared oject is loaded.
How?
I removed global variable and add member to TDSLOGIN
(to catch also login problems) and TDSSOCKET and change
all dependency.
freddy77
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=575613&group_id=33106
- [ freetds-Patches-575613 ] Do not use global msg/err handlers, noreply, 06/30/2002
Archive powered by MHonArc 2.6.24.