Re: [PHP] mysql_errror bug on innodb table

2003-09-10 Thread Raditha Dissanayake
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. [EMAIL PROTECTED] wrote: ok i managed to set the generated error screen to a variable, do the rollback then die H,

Re: [PHP] mysql_errror bug on innodb table

2003-09-10 Thread daniel
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

Re: [PHP] mysql_errror bug on innodb table

2003-09-10 Thread Raditha Dissanayake
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

Re: [PHP] mysql_errror bug on innodb table

2003-09-10 Thread daniel
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

[PHP] mysql_errror bug on innodb table

2003-09-10 Thread daniel
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