function commitTransaction(){
		$this->log("COMMIT SAVE_POINT_".$this->transactionCount);
		$this->transactionCount--;
		if($this->transactionCount == 0){
			parent::commit();
			$this->log("COMMIT REAL");
		}
		return $this->transactionCount;
	}
function commitTransaction(){
		$this->log("COMMIT SAVE_POINT_".$this->transactionCount);
		$this->transactionCount--;
		if($this->transactionCount == 0){
			parent::commit();
			$this->log("COMMIT REAL");
		}
		return $this->transactionCount;
	}
function commitTransaction ( ) { $ this -> log ( "COMMIT SAVE_POINT_" . $ this -> transactionCount ) ; $ this -> transactionCount -- ; if ( $ this -> transactionCount == 0 ) { parent :: commit ( ) ; $ this -> log ( "COMMIT REAL" ) ; } return $ this -> transactionCount ; }
commits the last transaction

@return integer , number of live transactions after executing this method
commits the last transaction