1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-28 12:30:42 +02:00

[ticket/10942] Use ANSI SQL standard || in dbal.php

PHPBB3-10942
This commit is contained in:
Joas Schilling
2012-07-02 23:11:21 +02:00
parent ad9d650659
commit fe1f21d1a5
6 changed files with 17 additions and 25 deletions

View File

@@ -119,6 +119,14 @@ class dbal_mysql extends dbal
return ($raw) ? $this->sql_server_version : 'MySQL ' . $this->sql_server_version;
}
/**
* {@inheritDoc}
*/
function sql_concatenate($expr1, $expr2)
{
return 'CONCAT(' . $expr1 . ', ' . $expr2 . ')';
}
/**
* SQL Transaction
* @access private