[freetds] Bug: severity in handler called by dberrhandle()

Norbert Sendetzky norbert at linuxnetworks.de
Sat Jun 14 13:41:22 EDT 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20080614/8e7417b8/attachment.bin 


More information about the FreeTDS mailing list