r102488 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r102487
|
r102488
|
r102489
>
Date:
03:25, 9 November 2011
Author:
mah
Status:
ok
Tags:
Comment:
fix
bug #29102
: Upgrade fails "Unknown character set: 'mysql4'"
by replacing "mysql4" with "binary"
Trivial enough to be backported, I think.
Modified paths:
/trunk/phase3/includes/db/DatabaseMysql.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/db/DatabaseMysql.php
—
—
@@ -799,6 +799,7 @@
800
800
protected function getDefaultSchemaVars() {
801
801
$vars = parent::getDefaultSchemaVars();
802
802
$vars['wgDBTableOptions'] = str_replace( 'TYPE', 'ENGINE', $GLOBALS['wgDBTableOptions'] );
803
+ $vars['wgDBTableOptions'] = str_replace( 'CHARSET=mysql4', 'CHARSET=binary', $GLOBALS['wgDBTableOptions'] );
803
804
return $vars;
804
805
}
805
806
Follow-up revisions
Revision
Commit summary
Author
Date
r102539
REL1_18 MFT
r102027
,
r102414
,
r102440
,
r102488
reedy
17:26, 9 November 2011
r105010
Per Timo, the second line would wipe out the first
reedy
21:50, 2 December 2011
r108044
Fix
Bug 29102
- Upgrade fails "Unknown character set: 'mysql4'...
mah
15:52, 4 January 2012
r108045
* (
bug 29102
) Upgrade fails "Unknown character set: 'mysql4'....
reedy
16:14, 4 January 2012
Status & tagging log
17:26, 9 November 2011
Reedy
(
talk
|
contribs
)
changed the
tags
for r102488
[
removed:
1.18]
17:11, 9 November 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r102488
[
removed:
new
added:
ok]
04:11, 9 November 2011
MarkAHershberger
(
talk
|
contribs
)
changed the
tags
for r102488
[
added:
1.18]