[asterisk-bugs] [JIRA] (ASTERISK-24742) [patch] Improves ast_odbc_find_table function in res_odbc

ibercom (JIRA) noreply at issues.asterisk.org
Sat Jan 31 05:37:34 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224697#comment-224697 ] 

ibercom commented on ASTERISK-24742:
------------------------------------

The patch is trivial, just rearranges the call to ast_odbc_request_obj function. This isn't necessary when the table is cached.


> [patch] Improves ast_odbc_find_table function in res_odbc
> ---------------------------------------------------------
>
>                 Key: ASTERISK-24742
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24742
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Resources/res_odbc
>    Affects Versions: 1.8.14.0
>            Reporter: ibercom
>         Attachments: patch.diff
>
>
> I was logging mysql usage with Asterisk-11 realtime and I have seen two "SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED" commands before each UPDATE operation.
> Whereas, there was only one before each SELECT or INSERT operation.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list