Re: [Sqlrelay-discussion] Why no 'errno' with DBD::SQLRelay?
Brought to you by:
mused
|
From: David M. <dav...@fi...> - 2009-07-29 03:55:14
|
Just one of those things I never got around to. Some DB's don't report
error numbers, just error messages, or at least some DB's that SQL Relay
used to support were like that. Since they didn't all support error
numbers, I didn't implement it for any.
In some cases, SQL Relay prepends the error number to the message. It's
lame though. I'll put it on the TODO list.
David Muse
dav...@fi...
b-r...@ro... wrote:
> (This is a repost, since the original garnered no responses.)
>
> I've got a Perl package that checks for the errno when there is a
> MySQL error. However, I found that SQLRelay was not passing them through -
> just the error text. As a result, I was getting failures that were not
> being caught.
>
> Why does SQLRelay not pass through the errno?
>
> $errno = $dbh->{ 'mysql_errno' } ;
>
> Thanks,
>
> R
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Sqlrelay-discussion mailing list
> Sql...@li...
> https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion
>
> __________________________________________________
> D O T E A S Y - "Join the web hosting revolution!"
> http://www.doteasy.com
>
|