关于php_oci是读取LOB的问题

Warning: PDOStatement::fetch() [<a href='pdostatement.fetch'>pdostatement.fetch</a>]: column 3 data was too large for buffer and was truncated to fit it in 


打开pdo_oci 下的

oci_statement.c
文件,修改532行

col->maxlen = data_size;为

col->maxlen = ( data_size + 1 ) * sizeof(utext);

你可能感兴趣的:(关于php_oci是读取LOB的问题)