diff options
| author | Hiroshi Inoue | 2017-03-24 02:30:58 +0000 |
|---|---|---|
| committer | Hiroshi Inoue | 2017-03-24 23:18:46 +0000 |
| commit | 404b90c034be706133675570f9ce8010f588844a (patch) | |
| tree | 4c1c8b097d4415022cf38325b395dad4c4002e3f /execute.c | |
| parent | 94070db14b11de3cbf1fd3b510023e5057810e1c (diff) | |
Add #ifdef UNICODE_SUPPORT where there should be.
Diffstat (limited to 'execute.c')
| -rw-r--r-- | execute.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1497,9 +1497,11 @@ PGAPI_PutData(HSTMT hstmt, if (ctype == SQL_C_DEFAULT) { ctype = sqltype_to_default_ctype(conn, current_iparam->SQLType); +#ifdef UNICODE_SUPPORT if (SQL_C_WCHAR == ctype && CC_default_is_c(conn)) ctype = SQL_C_CHAR; +#endif } if (SQL_NTS == cbValue) { |
