mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:11:47 +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)
|
switch ($status)
|
||||||
{
|
{
|
||||||
case 'begin':
|
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;
|
break;
|
||||||
|
|
||||||
case 'commit':
|
case 'commit':
|
||||||
|
Reference in New Issue
Block a user