mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 10:31:57 +02:00
[ticket/17337] Fix mysqli driver is missing transaction begin statement
PHPBB-17337
This commit is contained in:
@@ -155,7 +155,9 @@ class mysqli extends \phpbb\db\driver\mysql_base
|
||||
switch ($status)
|
||||
{
|
||||
case 'begin':
|
||||
return @mysqli_autocommit($this->db_connect_id, false);
|
||||
@mysqli_autocommit($this->db_connect_id, false);
|
||||
$result = @mysqli_begin_transaction($this->db_connect_id);
|
||||
return $result;
|
||||
break;
|
||||
|
||||
case 'commit':
|
||||
|
Reference in New Issue
Block a user