mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 10:28:55 +00:00
[ticket/17337] Fix mysqli driver is missing transaction begin statement
PHPBB-17337
This commit is contained in:
parent
cd0e682984
commit
c2d91650bd
1 changed files with 3 additions and 1 deletions
|
@ -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':
|
||||||
|
|
Loading…
Add table
Reference in a new issue