public function transactionStart($transaction_mode = false, $session_characteristics = false) { //By default, autocommit mode is enabled in MySQL. $this->query('SET AUTOCOMMIT=0;'); parent::transactionStart($transaction_mode, $session_characteristics); }