* @deprecated use begin()
*/
function immediateBegin( $fname = 'Database::immediateBegin' ) {
+ wfDeprecated( __METHOD__ );
$this->begin();
}
* @deprecated use commit()
*/
function immediateCommit( $fname = 'Database::immediateCommit' ) {
+ wfDeprecated( __METHOD__ );
$this->commit();
}
$this->mTrxLevel = 1;
}
- function immediateCommit( $fname = '' ) {
- return true;
- }
-
function commit( $fname = '' ) {
oci_commit( $this->mConn );
$this->mTrxLevel = 0;
$this->query( 'BEGIN', $fname );
$this->mTrxLevel = 1;
}
- function immediateCommit( $fname = 'DatabasePostgres::immediateCommit' ) {
- return true;
- }
+
function commit( $fname = 'DatabasePostgres::commit' ) {
$this->query( 'COMMIT', $fname );
$this->mTrxLevel = 0;