Re: mysql_errror bug on innodb table
| From: | Raditha Dissanayake | Date: | Thu, 11 Sep 2003 06:19:32 +0000 |
| Subject: | Re: mysql_errror bug on innodb table | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-162252@lists.php.net to get a copy of this message | ||
Great to hear.
Reading my previous post, i am suprised you understood it with all the glaring spelling mistakes :-). Yikes. Sorry about that i typed it in too much of a hurry.
daniel@electroteque.org wrote:
ok i managed to set the generated error screen to a variable, do the rollback then die-- http://www.radinks.com/upload Drag and Drop File Uploader.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:-- 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.phphmm 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