Re: Sybase - Error handlers

From: Date: Thu, 08 Aug 2002 10:59:54 +0000
Subject: Re: Sybase - Error handlers
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-86641@lists.php.net to get a copy of this message
On Wed, 2002-08-07 at 14:58, Brad LaFountain wrote: > Hello, > > I was wondering if anyone was interested if I added a error handler callback > to the sybase extension. Currently the extension will only keep the last server > message but print the rest of the warnings to the screen. I currently need to > access all of the error messages (programatically). So what I want to do is add > a callback handler along with keeping the last error message around. [...] > Any thoughts? Yes, I already suggested it [1,2] but nobody ever commented on it. I have a patch ready waiting at [3], introducing a message handler, type security, sybase_fetch_assoc, a non-corrupt sybase_fetch_object and an implementation of sybase_unbuffered_query. [1] http://bugs.php.net/bug.php?id=16960 [2] http://news.php.net/article.php?group=php.dev&article=85111 [3] http://sitten-polizei.de/php/php_sybase_ct.c http://sitten-polizei.de/php/php_sybase_ct.h http://sitten-polizei.de/php/README.SYBASE [German] -- Timm

« previous php.dev (#86641) next »