From 646c4747b4626016b65863960f9eaa3c13b6e962 Mon Sep 17 00:00:00 2001 From: Abdul-Kareem Abo-Namous Date: Fri, 6 Dec 2002 13:44:35 +0000 Subject: 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. --- ext/oci8/php_oci8.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/oci8/php_oci8.h') 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 { -- cgit v1.2.1