]> git.ipfire.org Git - thirdparty/asterisk.git/commit
odbc: Don't use prepared statements for distinct SQL statements
authorsmtcbn <samet109.06@gmail.com>
Fri, 25 Apr 2025 12:29:18 +0000 (15:29 +0300)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Mon, 1 Jun 2026 16:10:34 +0000 (16:10 +0000)
commit27638176a04d4ce81aa875bce1db74fc15dc0cb3
treeae37faa4dfece8f7139cec9ca85a6c5f744f3b0d
parent3a9e3c3623185f7907a82b77da7cc5ccf7568ab3
odbc: Don't use prepared statements for distinct SQL statements

Avoids unnecessary prepare for simple INSERT statements that cause
issues with ProxySQL (prepared statement counter overflow).

Resolves: #1217
cdr/cdr_adaptive_odbc.c
cel/cel_odbc.c