Add Database::conditional() function to build IF() or CASE statements
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 9 Sep 2004 00:02:38 +0000 (00:02 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 9 Sep 2004 00:02:38 +0000 (00:02 +0000)
commit52b1b6e9c332faf9dfd1aac60bdede2c00e0836d
treec64ab96385a61c9253d43e5439d2ed09b9e7cce0
parentd8a0ceea340b7ef3d72b3a42d34ea6db8f713784
Add Database::conditional() function to build IF() or CASE statements
depending on the RDBMS used. Allowed NULL in some RC fields on PostgreSQL.

Fix for bug 407: rebuildrecentchanges.php fails on PostgreSQL
http://bugzilla.wikipedia.org/show_bug.cgi?id=407
includes/Database.php
includes/DatabasePostgreSQL.php
maintenance/postgresql/pg_tables.sql
maintenance/rebuildrecentchanges.inc