aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/postgres.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-06-20 02:10:04 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-06-20 02:10:04 +0200
commit1e3272bfced5e5a2295e6410ef1fec0800b58d99 (patch)
treea2385e3f758cab18adb51337fe507c697f9a20f7 /phpBB/includes/db/postgres.php
parentdd0da6fffb3358937ebfdb3ff347089d97e64a1a (diff)
downloadforums-1e3272bfced5e5a2295e6410ef1fec0800b58d99.tar
forums-1e3272bfced5e5a2295e6410ef1fec0800b58d99.tar.gz
forums-1e3272bfced5e5a2295e6410ef1fec0800b58d99.tar.bz2
forums-1e3272bfced5e5a2295e6410ef1fec0800b58d99.tar.xz
forums-1e3272bfced5e5a2295e6410ef1fec0800b58d99.zip
[ticket/10942] Add sql_concatenate to dbal
PHPBB3-10942
Diffstat (limited to 'phpBB/includes/db/postgres.php')
-rw-r--r--phpBB/includes/db/postgres.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/includes/db/postgres.php b/phpBB/includes/db/postgres.php
index bf22cffafa..dddf615f9c 100644
--- a/phpBB/includes/db/postgres.php
+++ b/phpBB/includes/db/postgres.php
@@ -155,6 +155,14 @@ class dbal_postgres extends dbal
}
/**
+ * {@inheritDoc}
+ */
+ function sql_concatenate($string1, $string2)
+ {
+ return $string1 . ' || ' . $string2;
+ }
+
+ /**
* SQL Transaction
* @access private
*/