Bug: severity in handler called by dberrhandle()

Norbert Sendetzky <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Organization Linuxnetworks
Message-ID <[email protected]>
Hi all

I've found a bug in 0.82 which isn't present in 0.64:

If a SQL statement is executed which refers to a non-existing table, the 
library (0.82) returns a severity of 16 inside the installed error handler. 
According to the Sybase documentation and syberror.h, valid severities are 
from 1 to 11. The severity of this particular error should be more like 
EXUSER (2), EXNONFATAL (3) or EXSERVER (5).

Regards,


Norbert
-- 
OpenPGP public key
http://www.linuxnetworks.de/norbert.pubkey.asc

_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBIVALGejn4xe4sRgURAtvhAJ906RNBWrVdrFFbcpM9VYTthztkVwCfTMNO
VHPVn9P3G0fGjD21QS8qG24=
=Crub
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.