original_string: public function commit() {
  		if ($this->txStatus == self::TX_STARTED && $this->txCounter == 1) {
  			$this->txStatus = self::TX_NOT_STARTED;
  			$this->txCounter = 0;
  			return $this->driver->commit();
  		}
  		
  		$this->txCounter--;
  		return false;
  	}
code: public function commit() {
  		if ($this->txStatus == self::TX_STARTED && $this->txCounter == 1) {
  			$this->txStatus = self::TX_NOT_STARTED;
  			$this->txCounter = 0;
  			return $this->driver->commit();
  		}
  		
  		$this->txCounter--;
  		return false;
  	}
code_tokens: public function commit ( ) { if ( $ this -> txStatus == self :: TX_STARTED && $ this -> txCounter == 1 ) { $ this -> txStatus = self :: TX_NOT_STARTED ; $ this -> txCounter = 0 ; return $ this -> driver -> commit ( ) ; } $ this -> txCounter -- ; return false ; }
docstring: Commits current transaction
docstring_tokens: Commits current transaction