[asterisk-bugs] [JIRA] (ASTERISK-26010) [patch]func_odbc: single database connection should be optional
Alexei Gradinari (JIRA)
noreply at issues.asterisk.org
Tue May 10 14:29:56 CDT 2016
Alexei Gradinari created ASTERISK-26010:
-------------------------------------------
Summary: [patch]func_odbc: single database connection should be optional
Key: ASTERISK-26010
URL: https://issues.asterisk.org/jira/browse/ASTERISK-26010
Project: Asterisk
Issue Type: Improvement
Security Level: None
Components: Functions/func_odbc
Affects Versions: 13.9.0
Reporter: Alexei Gradinari
func_odbc was changed in Asterisk 13.9.0 to make func_odbc use a single
database connection per DSN because of reported bug with MySQL/MariaDB LAST_INSERT_ID().
This is drawback in performance when func_odbc is used very often in dialplan.
Single database connection should be optional.
Meanwhile... even with not persistent connection the stored routine (procedure or function) should be used to get correct LAST_INSERT_ID value.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list