-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4405/
-----------------------------------------------------------

(Updated Feb. 8, 2015, 8:34 p.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 431617


Bugs: ASTERISK-24742
    https://issues.asterisk.org/jira/browse/ASTERISK-24742


Repository: Asterisk


Description
-------

This patch fixes an anomalous behavior in ast_odbc_find_table function with 
Asterisk Realtime.

- SELECT or INSERT operation generate a single command "SET SESSION TRANSACTION 
ISOLATION LEVEL READ COMMITTED" in database engine before operation.
- UPDATE operation generates two commands "SET SESSION TRANSACTION ISOLATION 
LEVEL READ COMMITTED" in database engine before operation.

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


Diffs
-----

  branches/11/res/res_odbc.c 431571 

Diff: https://reviewboard.asterisk.org/r/4405/diff/


Testing
-------

Log mysql usage.
It is working for a week without problems.


Thanks,

ibercom

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to