[ticket/9892] _sql in the updater needs to return the transaction results

PHPBB3-9892
This commit is contained in:
Nils Adermann 2011-06-12 23:45:23 +02:00
parent 4e0717b4d7
commit c9e22ac509

View file

@ -536,11 +536,11 @@ function _sql($sql, &$errored, &$error_ary, $echo_dot = true)
if ($sql === 'begin')
{
$db->sql_transaction('begin');
$result = $db->sql_transaction('begin');
}
else if ($sql === 'commit')
{
$db->sql_transaction('commit');
$result = $db->sql_transaction('commit');
}
else
{