Add detection for ODBC WCHAR fields
authorTerry Wilson <twilson@digium.com>
Wed, 7 Mar 2012 15:08:08 +0000 (15:08 +0000)
committerTerry Wilson <twilson@digium.com>
Wed, 7 Mar 2012 15:08:08 +0000 (15:08 +0000)
commit8b3704fbde54d1bfc33dcd0b135066822651ffa1
tree1ebcd5c14d773b8e6f3433c8d1ce654990ca3216
parent82ac7fb6435f1fda562db646f4f8a3c26892342f
Add detection for ODBC WCHAR fields

Without detecting these types, cel_odbc blows up when the character
set for the table is utf8. This also wraps cdr_adaptive_odbc's use of
those types in the HAVE_ODBC_WCHAR #ifdef seen in other parts of the
code.
........

Merged revisions 358435 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 358436 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@358437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
cdr/cdr_adaptive_odbc.c
cel/cel_odbc.c