mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11162] Uncomment transactions.
PHPBB3-11162
This commit is contained in:
parent
d0338531cb
commit
2e947334e5
1 changed files with 2 additions and 2 deletions
|
@ -1367,7 +1367,7 @@ function phpbb_update_rows_avoiding_duplicates($db, $table, $column, $from_value
|
|||
|
||||
if ($any_found)
|
||||
{
|
||||
//$db->sql_transaction('begin');
|
||||
$db->sql_transaction('begin');
|
||||
|
||||
foreach ($queries as $sql)
|
||||
{
|
||||
|
@ -1378,7 +1378,7 @@ function phpbb_update_rows_avoiding_duplicates($db, $table, $column, $from_value
|
|||
WHERE " . $db->sql_in_set($column, $from_values);
|
||||
$db->sql_query($sql);
|
||||
|
||||
//$db->sql_transaction('commit');
|
||||
$db->sql_transaction('commit');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue