tab on the mainpage of a wiki.
* (bug 10158) Do not mention allowing others to contact you when the feature
is disabled ($wgEnableUserEmail=false)
+* (bug 26733) Wrap initial table creation in transaction
=== API changes in 1.18 ===
* (bug 26339) Throw warning when truncating an overlarge API result
}
$this->db->setFlag( DBO_DDLMODE ); // For Oracle's handling of schema files
+ $this->db->begin( __METHOD__ );
+
$error = $this->db->sourceFile( $this->db->getSchema() );
if( $error !== true ) {
$this->db->reportQueryError( $error, 0, '', __METHOD__ );
+ $this->db->rollback( __METHOD__ );
$status->fatal( 'config-install-tables-failed', $error );
+ } else {
+ $this->db->commit( __METHOD__ );
}
return $status;
}