diff options
| author | Hiroshi Inoue <inoue@tpf.co.jp> | 2001-09-11 06:39:20 +0000 |
|---|---|---|
| committer | Hiroshi Inoue <inoue@tpf.co.jp> | 2001-09-11 06:39:20 +0000 |
| commit | 0521051b0b443dd8a498802472059bdda21ebaf3 (patch) | |
| tree | d4e4e0fce39e2d97e140f7422ed12a8f5ca2282f /src/interfaces/odbc/convert.c | |
| parent | 7e99cea816bde08ba3bda2de4e972adc624a659e (diff) | |
Fix some multibyte related bugs.
Psqlodbc is 7.01.0007 now.
Hiroshi Inoue
Diffstat (limited to 'src/interfaces/odbc/convert.c')
| -rw-r--r-- | src/interfaces/odbc/convert.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interfaces/odbc/convert.c b/src/interfaces/odbc/convert.c index 9c1c6e3737a..8052709fdac 100644 --- a/src/interfaces/odbc/convert.c +++ b/src/interfaces/odbc/convert.c @@ -1156,7 +1156,11 @@ copy_statement_with_parameters(StatementClass *stmt) } opos += lit_call_len; CVT_APPEND_STR("SELECT "); +#ifdef MULTIBYTE + if (multibyte_strchr(&old_statement[opos], '(')) +#else if (strchr(&old_statement[opos], '(')) +#endif /* MULTIBYTE */ proc_no_param = FALSE; continue; } |
