Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Why doesn't error_handler get called if errors occur inside
a stored procedure?
Date: Dec 7 2001 4:31PM
> So what happens these days if you do not establish your own message handler? I'm
> especially interested in the disposition of print statements in stored procs.
Right now it seems that PRINT statements are simply discarded, because
of the following in DBlib.xs msg_handler() function:
/* Don't print any message if severity == 0 */
That should probably be something like
if(!severity && !msgno)
with some other fixes as well to handle the default case.
Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
firstname.lastname@example.org - email@example.com
International Sybase User Group - http://www.isug.com