Add detection for ODBC WCHAR fields
[asterisk/asterisk.git] / cel / cel_odbc.c
index 1a54271..c7c8827 100644 (file)
@@ -487,6 +487,11 @@ static void odbc_log(const struct ast_event *event, void *userdata)
                                case SQL_CHAR:
                                case SQL_VARCHAR:
                                case SQL_LONGVARCHAR:
+#ifdef HAVE_ODBC_WCHAR
+                               case SQL_WCHAR:
+                               case SQL_WVARCHAR:
+                               case SQL_WLONGVARCHAR:
+#endif
                                case SQL_BINARY:
                                case SQL_VARBINARY:
                                case SQL_LONGVARBINARY: