diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-07-02 23:11:21 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-07-02 23:11:21 +0200 |
commit | fe1f21d1a55ac15b278d99c3a73a8e3424a38fd5 (patch) | |
tree | e3ed655aaaadcad8452cc1ddd061adbfaf3e300e /phpBB/includes/db/mysql.php | |
parent | ad9d6506594f90ac7c6cdf20a5718d28042059c9 (diff) | |
download | forums-fe1f21d1a55ac15b278d99c3a73a8e3424a38fd5.tar forums-fe1f21d1a55ac15b278d99c3a73a8e3424a38fd5.tar.gz forums-fe1f21d1a55ac15b278d99c3a73a8e3424a38fd5.tar.bz2 forums-fe1f21d1a55ac15b278d99c3a73a8e3424a38fd5.tar.xz forums-fe1f21d1a55ac15b278d99c3a73a8e3424a38fd5.zip |
[ticket/10942] Use ANSI SQL standard || in dbal.php
PHPBB3-10942
Diffstat (limited to 'phpBB/includes/db/mysql.php')
-rw-r--r-- | phpBB/includes/db/mysql.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/includes/db/mysql.php b/phpBB/includes/db/mysql.php index eb38e3e913..3cda5cc1e0 100644 --- a/phpBB/includes/db/mysql.php +++ b/phpBB/includes/db/mysql.php @@ -120,6 +120,14 @@ class dbal_mysql extends dbal } /** + * {@inheritDoc} + */ + function sql_concatenate($expr1, $expr2) + { + return 'CONCAT(' . $expr1 . ', ' . $expr2 . ')'; + } + + /** * SQL Transaction * @access private */ |