>-----Original Message----- >From: Sviss Cobazor >Sent: Tuesday, March 19, 2002 5:18 PM >To: [EMAIL PROTECTED] >Subject: [PHP-WIN] BDB transactions ? > > >Hi NG. > >I'm trying to test transactions by starting a transaction with "SET >AUTOCOMMIT=0" and "BEGIN". >After that I create a table and insert 2 rows. The 2nd row has >an syntaxerror so this would call for a rollback. >But the table gets created and the 1st row are inserted >although my test >function never gets to call commit but instead calls rollback. > >Anyone have an idea why this is?
IMHO I think it is a perfectly normal behaviour to do a rollback if an error occurs duirng the transaction... -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php