RE: [PHP-WIN] BDB transactions ?

From: Date: Wed, 20 Mar 2002 12:01:11 +0000
Subject: RE: [PHP-WIN] BDB transactions ?
Groups: php.windows 
Request: Send a blank email to php-windows+get-12694@lists.php.net to get a copy of this message
>-----Original Message----- >From: Sviss Cobazor >Sent: Tuesday, March 19, 2002 5:18 PM >To: php-windows@lists.php.net >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...

« previous php.windows (#12694) next »