cvs: pear /MDB2/docs Driver_skeleton.php

From: Date: Thu, 25 Nov 2004 14:26:23 +0000
Subject: cvs: pear /MDB2/docs Driver_skeleton.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-26489@lists.php.net to get a copy of this message
lsmith Thu Nov 25 09:26:23 2004 EDT Modified files: /pear/MDB2/docs Driver_skeleton.php Log: autoCommit -> beingTransaction() http://cvs.php.net/diff.php/pear/MDB2/docs/Driver_skeleton.php?r1=1.12&r2=1.13&ty=u Index: pear/MDB2/docs/Driver_skeleton.php diff -u pear/MDB2/docs/Driver_skeleton.php:1.12 pear/MDB2/docs/Driver_skeleton.php:1.13 --- pear/MDB2/docs/Driver_skeleton.php:1.12 Fri Oct 22 16:41:20 2004 +++ pear/MDB2/docs/Driver_skeleton.php Thu Nov 25 09:26:22 2004 @@ -42,7 +42,7 @@ // | Author: YOUR NAME <YOUR EMAIL> | // +----------------------------------------------------------------------+ // -// $Id: Driver_skeleton.php,v 1.12 2004/10/22 20:41:20 lsmith Exp $ +// $Id: Driver_skeleton.php,v 1.13 2004/11/25 14:26:22 lsmith Exp $ // // This is just a skeleton MDB2 driver. @@ -126,22 +126,15 @@ * Define whether database changes done on the database be automatically * committed. This function may also implicitly start or end a transaction. * - * @param boolean $auto_commit flag that indicates whether the database - * changes should be committed right after - * executing every query statement. If this - * argument is 0 a transaction implicitly - * started. Otherwise, if a transaction is - * in progress it is ended by committing any - * database changes that were pending. - * * @access public * * @return mixed MDB2_OK on success, a MDB2 error on failure */ - function autoCommit($auto_commit) + function beginTransaction() { // take this from the corresponding Metabase driver: AutoCommitTransactions() // the MetabaseShutdownTransactions function is handled by the PEAR desctructor + // however in MDB2 no implicit transactions is left open } // }}}

« previous php.pear.cvs (#26489) next »