]> 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)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Mon, 14 Aug 2023 17:20:09 +0000 (17:20 +0000)
commit3b806a3303091175f930d9a4f96c0ef153b16bcc
treef96010c98e4d385c4698b2515283fb904b578f0b
parent00070bc6bcdcf7f45887bed67fe8c4b043c60a93
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