Re: mysql_errror bug on innodb table

From: Date: Thu, 11 Sep 2003 05:28:54 +0000
Subject: Re: mysql_errror bug on innodb table
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162250@lists.php.net to get a copy of this message
ok i managed to set the generated error screen to a variable, do the rollback then die > H, > > The mysql_error() fucntion returns the error that took place for the > last call to the db. If you do a roll back that would be considered > another call and mysql_error() would then return the error (is any) > associated with the roll back. If this reason many programmer create a > separate error handling routing to watch of db errors and save them > elsewhere > > > all the best > > > > > daniel@electroteque.org wrote: > >>hmm this is tricky, on an innodb table if i do a rollback when i find >>an error then trigger the error handler which dies to the screen it >>wont show the message, but i commented out the rollback and it was >>find, how could i execute the rollback properly then ? >> >> >> >>>hi there i have noticed a bug where mysql_error is not returned on a >>>transaction, why is this ? >>> >>>-- >>>PHP General Mailing List (http://www.php.net/) >>>To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> >> >> >> > > > -- > http://www.radinks.com/upload > Drag and Drop File Uploader. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#162250) next »