Merge remote-tracking branch 'naderman/ticket/9892' into develop-olympus

* naderman/ticket/9892:
  [ticket/9892] _sql in the updater needs to return the transaction results
This commit is contained in:
Andreas Fischer 2011-06-13 00:09:37 +02:00
commit 25bd58d2f9

View file

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