Last modified: 2010-05-15 15:59:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13598, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11598 - IF () calls do not work for Postgres
IF () calls do not work for Postgres
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.11.x
All All
: High critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 14337 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-08 07:59 UTC by Andrew G
Modified: 2010-05-15 15:59 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Andrew G 2007-10-08 07:59:41 UTC
in the file:  /var/www/includes/filerepo/LocalFile.php  
there are two locations which must be changed so that the system works with postgres.....


 'fa_storage_key'   => "CASE WHEN img_sha1='' THEN '' ELSE img_sha1||$encExt END",
  //'fa_storage_key'   => "IF(img_sha1='', '', CONCAT(img_sha1,$encExt))",

:0
Comment 1 Andrew G 2007-10-08 08:00:25 UTC
ps included the diff showing what should be corrected
Comment 2 Greg Sabino Mullane 2007-10-09 14:20:40 UTC
Already fixed in r26043

r1=25141&r2=26043">http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/filerepo/LocalFile.php?r1=25141&r2=26043

Comment 3 Greg Sabino Mullane 2008-06-04 17:36:50 UTC
*** Bug 14337 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links