summaryrefslogtreecommitdiff
path: root/ext/oci8/php_oci8_int.h
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-08-09 15:24:27 +0000
committerAntony Dovgal <tony2001@php.net>2006-08-09 15:24:27 +0000
commitc9c05bece9aeafed06d472cb7e57f9f57f2105de (patch)
tree04959348fc479c5b64d91d59062e14ac6af1afd8 /ext/oci8/php_oci8_int.h
parent43fca8a3f8ca9dbfc4952cc2d4d471394793be3e (diff)
downloadphp-git-c9c05bece9aeafed06d472cb7e57f9f57f2105de.tar.gz
add support for NCLOBs
fix #35973 (Error ORA-24806 occurs when trying to fetch a NCLOB field)
Diffstat (limited to 'ext/oci8/php_oci8_int.h')
-rw-r--r--ext/oci8/php_oci8_int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/oci8/php_oci8_int.h b/ext/oci8/php_oci8_int.h
index 346abe3ce4..3f12b49737 100644
--- a/ext/oci8/php_oci8_int.h
+++ b/ext/oci8/php_oci8_int.h
@@ -127,6 +127,8 @@ typedef struct { /* php_oci_descriptor {{{ */
int lob_size; /* cached LOB size. -1 = Lob wasn't initialized yet */
int buffering; /* cached buffering flag. 0 - off, 1 - on, 2 - on and buffer was used */
ub4 chunk_size; /* chunk size of the LOB. 0 - unknown */
+ ub1 charset_form; /* charset form, required for NCLOBs */
+ ub2 charset_id; /* charset ID */
} php_oci_descriptor; /* }}} */
typedef struct { /* php_oci_lob_ctx {{{ */
@@ -212,6 +214,8 @@ typedef struct { /* php_oci_out_column {{{ */
ub4 cb_retlen; /* */
ub2 scale; /* column scale */
ub2 precision; /* column precision */
+ ub1 charset_form; /* charset form, required for NCLOBs */
+ ub2 charset_id; /* charset ID */
} php_oci_out_column; /* }}} */
/* {{{ macros */