refactor Database::makeSelectOptions
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 26 Jan 2013 09:43:20 +0000 (10:43 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Sat, 26 Jan 2013 09:43:20 +0000 (10:43 +0100)
commitad6706f671c48ef0cb0eaa6d594f286acbb4e59c
tree95f8c1cfc878d5abab4c0ee3a785180426b904dd
parent4d39b368b76ec3521d6e739574aa71d5de84f857
refactor Database::makeSelectOptions

Created new method for creating the group by/having and order by sql,
this avoids code duplication in each database with a overridden
makeSelectOptions.

This fix the group by/having/order by for DB2/MSSQL to support array
conditions. Fixed the having for Postgres for array conditions.

Change-Id: I0fbcb3e8e68d995d93be0bf3d0a347788a39194a
includes/db/Database.php
includes/db/DatabaseIbm_db2.php
includes/db/DatabaseMssql.php
includes/db/DatabaseOracle.php
includes/db/DatabasePostgres.php