diff options
author | Matthew Jordan <mjordan@digium.com> | 2015-02-09 02:35:31 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2015-02-09 02:35:31 +0000 |
commit | 17247daae6c5054c0880f1858d1f0de46cef85d1 (patch) | |
tree | 8d7b3038b69cfaf9fca37c69d381114ed6faf53c /rest-api | |
parent | 2ebe811d80a2ea494260134315efd37fa4ff6cbb (diff) |
res/res_odbc: Remove unneeded queries when determining if a table exists
This patch modifies the ast_odbc_find_table function such that it only performs
a lookup of the requested table if the table is not already known. Prior to
this patch, a queries would be executed against the database even if the table
was already known and cached.
Review: https://reviewboard.asterisk.org/r/4405/
ASTERISK-24742 #close
Reported by: ibercom
patches:
patch.diff uploaded by ibercom (License 6599)
........
Merged revisions 431617 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 431618 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@431619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api')
0 files changed, 0 insertions, 0 deletions