[freetds] Bug: severity in handler called by dberrhandle()
James K. Lowden
jklowden at freetds.org
Sun Jun 15 23:55:24 EDT 2008
Norbert Sendetzky wrote:
> 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).
1> select 8 from notable
2> go
Msg 208, Level 16, State 1
Server 'TITAN', Line 1
Invalid object name 'notable'.
That message and its severity comes from the server. FreeTDS merely
passes it on.
--jkl
More information about the FreeTDS
mailing list