[svn-commits] jrose: branch 1.8 r357455 - /branches/1.8/cdr/cdr_adaptive_odbc.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Feb 28 15:43:56 CST 2012


Author: jrose
Date: Tue Feb 28 15:43:51 2012
New Revision: 357455

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=357455
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)



Modified:
    branches/1.8/cdr/cdr_adaptive_odbc.c

Modified: branches/1.8/cdr/cdr_adaptive_odbc.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/cdr/cdr_adaptive_odbc.c?view=diff&rev=357455&r1=357454&r2=357455
==============================================================================
--- branches/1.8/cdr/cdr_adaptive_odbc.c (original)
+++ branches/1.8/cdr/cdr_adaptive_odbc.c Tue Feb 28 15:43:51 2012
@@ -421,6 +421,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 svn-commits mailing list