Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Bug: severity in handler called by dberrhandle()
  • Date: Sun, 15 Jun 2008 23:55:24 -0400

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




Archive powered by MHonArc 2.6.24.

Top of Page