]> git.ipfire.org Git - thirdparty/asterisk.git/commit
extconfig: Allow explicit DB result set ordering to be disabled.
authorSean Bright <sean@seanbright.com>
Wed, 12 Jul 2023 16:03:59 +0000 (12:03 -0400)
committerSean Bright <sean@seanbright.com>
Mon, 14 Aug 2023 17:19:57 +0000 (17:19 +0000)
commit0bb192831c0b51785d71d0e6a3fd4bc9989d60e1
treec5a3ec0853cce0fe8c9fdf61a335a2bd7f0af060
parent6209d47b44db4634378543356c433a3941c9f391
extconfig: Allow explicit DB result set ordering to be disabled.

Added a new boolean configuration flag -
`order_multi_row_results_by_initial_column` - to both res_pgsql.conf
and res_config_odbc.conf that allows the administrator to disable the
explicit `ORDER BY` that was previously being added to all generated
SQL statements that returned multiple rows.

Fixes: #179
configs/samples/res_config_odbc.conf.sample [new file with mode: 0644]
configs/samples/res_pgsql.conf.sample
res/res_config_odbc.c
res/res_config_pgsql.c