dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e38d189
)
Bug 11980: don't complain on rollback of non-transactional tables. Not sure how to...
author
Tim Starling
<tstarling@users.mediawiki.org>
Wed, 27 Feb 2008 06:09:51 +0000
(06:09 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Wed, 27 Feb 2008 06:09:51 +0000
(06:09 +0000)
includes/Database.php
patch
|
blob
|
history
diff --git
a/includes/Database.php
b/includes/Database.php
index
6966430
..
f873828
100644
(file)
--- a/
includes/Database.php
+++ b/
includes/Database.php
@@
-2039,10
+2039,11
@@
class Database {
}
/**
- * Rollback a transaction
+ * Rollback a transaction.
+ * No-op on non-transactional databases.
*/
function rollback( $fname = 'Database::rollback' ) {
- $this->query( 'ROLLBACK', $fname );
+ $this->query( 'ROLLBACK', $fname
, true
);
$this->mTrxLevel = 0;
}