diff options
author | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-03-28 08:08:07 +0000 |
---|---|---|
committer | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-03-28 08:08:07 +0000 |
commit | 6852741c1879fd2bd5ab5b367c7fc5a130dfd4da (patch) | |
tree | a0f27a6fb623307b0772f2964f31707fd302972e /src/interfaces/odbc/multibyte.c | |
parent | e6774dc3553d814e6aa500cabe5739b2e6f94df4 (diff) |
[2002-03-28]
1) Prepare to separate 4 kinds of Descriptor handles.
2) Detect the transaction status more naturally.
3) Improve Parse Statement functionality for the use
of updatable cursors.
4) Improve updatable cursors.
5) Implement SQLGetDescField() and improve SQLColAttribute().
6) etc.
Diffstat (limited to 'src/interfaces/odbc/multibyte.c')
-rw-r--r-- | src/interfaces/odbc/multibyte.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/odbc/multibyte.c b/src/interfaces/odbc/multibyte.c index 362916da2cd..9c8c7dae6a1 100644 --- a/src/interfaces/odbc/multibyte.c +++ b/src/interfaces/odbc/multibyte.c @@ -59,7 +59,7 @@ pg_CS CS_Table[] = { "OTHER", OTHER } }; -int +static int pg_ismb(int characterset_code) { int i=0,MB_CHARACTERSET[]={EUC_JP,EUC_CN,EUC_KR,EUC_TW,UTF8,MULE_INTERNAL,SJIS,BIG5,GBK,UHC,JOHAB}; @@ -228,8 +228,8 @@ pg_CS_stat(int stat,unsigned int character,int characterset_code) character > 0xa0) stat = 3; else if (stat == 3 || - (stat < 2 && - character > 0xa0)) + stat < 2 && + character > 0xa0) stat = 2; else if (stat == 2) stat = 1; |