diff options
author | Abdul-Kareem Abo-Namous <abonamous@php.net> | 2002-12-06 13:44:35 +0000 |
---|---|---|
committer | Abdul-Kareem Abo-Namous <abonamous@php.net> | 2002-12-06 13:44:35 +0000 |
commit | 646c4747b4626016b65863960f9eaa3c13b6e962 (patch) | |
tree | 555242a032d3795f705ea2ff5d2fc4a2acd7ae31 /ext/oci8/php_oci8.h | |
parent | b3d0cca0e6abd066d7a9a2a4bc622ee7f92bf8de (diff) | |
download | php-git-646c4747b4626016b65863960f9eaa3c13b6e962.tar.gz |
added support for multiple character sets.
OCILogon now has a forth optional parameter, which is the character set requested by the string (i.e. we8iso8859p1). when left blank, NLS_LANG or default is used.
config.m4 was changed to identify Oracle 9+ which is needed for this feature. all other oracle versions (lesser) fall back to the old behaviour.
Diffstat (limited to 'ext/oci8/php_oci8.h')
-rw-r--r-- | ext/oci8/php_oci8.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/oci8/php_oci8.h b/ext/oci8/php_oci8.h index 65d5e1220f..3c80aabc77 100644 --- a/ext/oci8/php_oci8.h +++ b/ext/oci8/php_oci8.h @@ -70,6 +70,8 @@ typedef struct { char *hashed_details; oci_server *server; OCISession *pSession; + OCIEnv *pEnv; //sessions own environment + ub2 charsetId; //sessions used character set (mostly this will be 0, so NLS_LANG will be used. } oci_session; typedef struct { |