r23241 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23240‎ | r23241 | r23242 >
Date:18:45, 22 June 2007
Author:greg
Status:old
Tags:
Comment:
Return raw bytea string, not arrayified version for encodeBlob()
Modified paths:
  • /trunk/phase3/includes/DatabasePostgres.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DatabasePostgres.php
@@ -1099,7 +1099,7 @@
11001100 }
11011101
11021102 function encodeBlob( $b ) {
1103 - return array('bytea',pg_escape_bytea($b));
 1103+ return pg_escape_bytea( $b );
11041104 }
11051105 function decodeBlob( $b ) {
11061106 return pg_unescape_bytea( $b );

Follow-up revisions

RevisionCommit summaryAuthorDate
r23407Merged revisions 23203-23405 via svnmerge from...david23:00, 25 June 2007

Status & tagging log