From: Bryan Tong Minh Date: Mon, 13 Jul 2009 21:56:24 +0000 (+0000) Subject: (bug 19571) Override buildConcat for SQLite. X-Git-Tag: 1.31.0-rc.0~40971 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=7109c4c4efa0e24b9a470e02f836d959ffc8910e;p=lhc%2Fweb%2Fwiklou.git (bug 19571) Override buildConcat for SQLite. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index bfe4c208d7..769c8b75ca 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -250,6 +250,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Removed repetition of URIs in the title attributes of external links. * (bug 19693) User name is now escaped in "Contributions for ..." link on Special:BlockIP +* (bug 19571) Override buildConcat for SQLite. == API changes in 1.16 == diff --git a/includes/db/DatabaseSqlite.php b/includes/db/DatabaseSqlite.php index 18a2f06888..ccc29a2ff2 100644 --- a/includes/db/DatabaseSqlite.php +++ b/includes/db/DatabaseSqlite.php @@ -455,6 +455,13 @@ class DatabaseSqlite extends DatabaseBase { public function lockTables( $read, $write, $method ) {} public function unlockTables( $method ) {} + + /* + * Build a concatenation list to feed into a SQL query + */ + function buildConcat( $stringList ) { + return implode( ' || ', $stringList ); + } } // end DatabaseSqlite class