]> 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:20:05 +0000 (17:20 +0000)
commit1171beb7e45eff06d473915eaeef840fce842408
treecb1c871c11861f044d1538335359fc862d0b734c
parent21b0522abd594bfb8caf89a20220a8898427f60d
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