Return lobs as strings for now

This commit is contained in:
Edin Kadribasic 2005-02-05 22:46:26 +00:00
parent 74821473e2
commit 64e8c3105c

View File

@ -394,6 +394,7 @@ static inline void fetch_value(pdo_stmt_t *stmt, zval *dest, int colno TSRMLS_DC
ZVAL_NULL(dest);
break;
case PDO_PARAM_LOB:
case PDO_PARAM_STR:
if (value && !(value_len == 0 && stmt->dbh->oracle_nulls)) {
ZVAL_STRINGL(dest, value, value_len, 1);