Support schema selection in cdr_adaptive_odbc
authorKinsey Moore <kmoore@digium.com>
Fri, 3 Feb 2012 16:50:49 +0000 (16:50 +0000)
committerKinsey Moore <kmoore@digium.com>
Fri, 3 Feb 2012 16:50:49 +0000 (16:50 +0000)
commit71a8457d5379fe04cf8d42db40a24866549a88cb
treee309aa98c01b73c618c21354d43f10f4d4c48343
parent79979313e84f39198812841ac36a44fa990550df
Support schema selection in cdr_adaptive_odbc

Asterisk now supports using ODBC with databases where a single schema must be
selected.  Previously, INSERTs would fail because they did not take into
account extra fields cause by having multiple schemas.  This also corrects
some SQL resource leaks.

(closes issue ASTERISK-17106)
Patch-by: Alexander Frolkin
Patch-by: Tilgnman Lesher

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@353964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
UPGRADE.txt
cdr/cdr_adaptive_odbc.c
configs/cdr_adaptive_odbc.conf.sample