Karun has uploaded a new change for review.
https://gerrit.wikimedia.org/r/67422
Change subject: Bug 14931 - changed to use default character set of utf8
......................................................................
Bug 14931 - changed to use default character set of utf8
Change-Id: Ied512a75d17b401206b6439f289fe36c01536cec
---
M includes/installer/MysqlInstaller.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/22/67422/1
diff --git a/includes/installer/MysqlInstaller.php
b/includes/installer/MysqlInstaller.php
index e0bf3d7..a5c4ad8 100644
--- a/includes/installer/MysqlInstaller.php
+++ b/includes/installer/MysqlInstaller.php
@@ -475,7 +475,7 @@
$conn = $status->value;
$dbName = $this->getVar( 'wgDBname' );
if ( !$conn->selectDB( $dbName ) ) {
- $conn->query( "CREATE DATABASE " .
$conn->addIdentifierQuotes( $dbName ), __METHOD__ );
+ $conn->query( "CREATE DATABASE " . $conn->addIdentifierQuotes(
$dbName ) . "CHARACTER SET utf8", __METHOD__ );
$conn->selectDB( $dbName );
}
$this->setupSchemaVars();
--
To view, visit https://gerrit.wikimedia.org/r/67422
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ied512a75d17b401206b6439f289fe36c01536cec
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Karun <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits