r53148 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53147‎ | r53148 | r53149 >
Date:21:31, 12 July 2009
Author:vrandezo
Status:deferred
Tags:
Comment:
Hopefully this solves the collation problem
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLHelpers.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLHelpers.php
@@ -29,7 +29,7 @@
3030 switch ($input) {
3131 case 'id': return $wgDBtype=='postgres'?'SERIAL':'INT(8) UNSIGNED'; // like page_id in MW page table
3232 case 'namespace': return $wgDBtype=='postgres'?'BIGINT':'INT(11)'; // like page_namespace in MW page table
33 - case 'title': return $wgDBtype=='postgres'?'TEXT':'VARCHAR(255) binary'; // like page_title in MW page table
 33+ case 'title': return $wgDBtype=='postgres'?'TEXT':'VARBINARY(255)'; // like page_title in MW page table
3434 case 'iw': return $wgDBtype=='postgres'?'TEXT':'VARCHAR(32) binary'; // like iw_prefix in MW interwiki table
3535 case 'blob': return $wgDBtype=='postgres'?'BYTEA':'MEDIUMBLOB'; // larger blobs of character data, usually not subject to SELECT conditions
3636 }

Status & tagging log