[asterisk-commits] jrose: branch 10 r357458 - in /branches/10: ./ cdr/cdr_adaptive_odbc.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Feb 28 15:52:10 CST 2012


Author: jrose
Date: Tue Feb 28 15:52:06 2012
New Revision: 357458

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=357458
Log:
Add additional character type types to supported data types for cdr_adaptive_odbc

The reporter was uable to use varchar utf8_unicode_ci with cdr_adaptive_odbc, so
this patch adds those along with some other character types to the list of types
cdr_adaptive_odbc will work using the varchar conditions. The problem wasn't really
UTF8 characters as much as it was a failure to respond to the exact type that was
declared/in use on that database.

(closes issue ASTERISK-19334)
Reported By: Igor Nikolaev
Patches:
	cdr_adaptive_odbc.patch uploaded by Igor Nikolaev (license 6236)
........

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

Modified:
    branches/10/   (props changed)
    branches/10/cdr/cdr_adaptive_odbc.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/cdr/cdr_adaptive_odbc.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/cdr/cdr_adaptive_odbc.c?view=diff&rev=357458&r1=357457&r2=357458
==============================================================================
--- branches/10/cdr/cdr_adaptive_odbc.c (original)
+++ branches/10/cdr/cdr_adaptive_odbc.c Tue Feb 28 15:52:06 2012
@@ -431,6 +431,9 @@
 				case SQL_CHAR:
 				case SQL_VARCHAR:
 				case SQL_LONGVARCHAR:
+				case SQL_WCHAR:
+				case SQL_WVARCHAR:
+				case SQL_WLONGVARCHAR:
 				case SQL_BINARY:
 				case SQL_VARBINARY:
 				case SQL_LONGVARBINARY:




More information about the asterisk-commits mailing list