Re: Bug: severity in handler called by dberrhandle()

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
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
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.