r42433 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r42432
|
r42433
|
r42434
>
Date:
23:55, 23 October 2008
Author:
brion
Status:
old
Tags:
Comment:
wrap begin and commit around the save; otherwise it gets eaten in the ajax save if you use innodb (transaction doesn't get committed)
Modified paths:
/trunk/extensions/Drafts/Drafts.classes.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/Drafts/Drafts.classes.php
—
—
@@ -88,6 +88,7 @@
89
89
90
90
// Get db connection
91
91
$this->getDB();
92
+ $this->_db->begin();
92
93
93
94
// Build data
94
95
$data = array(
—
—
@@ -136,6 +137,8 @@
137
138
}
138
139
}
139
140
141
+ $this->_db->commit();
142
+
140
143
// Return success
141
144
return true;
142
145
}
Status & tagging log
15:36, 12 September 2011
Meno25
(
talk
|
contribs
)
changed the
status
of r42433
[
removed:
ok
added:
old]