/** * @ignore */ public function beginTransaction() { parent::beginTransaction(); $this->connection->autocommit(false); }
/** * @ignore */ public function beginTransaction() { parent::beginTransaction(); if ($this->transactionLevel === 1) { $this->connection->beginTransaction(); } else { $this->connection->exec('SAVEPOINT LEVEL' . $this->transactionLevel); } }