diff options
| author | Antony Dovgal <tony2001@php.net> | 2006-11-10 20:13:36 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2006-11-10 20:13:36 +0000 |
| commit | 7563d4f5736e8aa6959dee1a6f50feb803dc5230 (patch) | |
| tree | d21ab515896a3eab8cf654f61e6e1c4dfe4ad1c0 /ext/oci8/oci8_statement.c | |
| parent | d98a8aa5898117f1ada3deb99b91b837f8707a38 (diff) | |
| download | php-git-7563d4f5736e8aa6959dee1a6f50feb803dc5230.tar.gz | |
fix possible issue with negative values in oci_set_prefetch
(reported by Chris Jones)
Diffstat (limited to 'ext/oci8/oci8_statement.c')
| -rw-r--r-- | ext/oci8/oci8_statement.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/oci8/oci8_statement.c b/ext/oci8/oci8_statement.c index 8c117ea304..7cf783dda6 100644 --- a/ext/oci8/oci8_statement.c +++ b/ext/oci8/oci8_statement.c @@ -122,7 +122,7 @@ php_oci_statement *php_oci_statement_create (php_oci_connection *connection, cha /* {{{ php_oci_statement_set_prefetch() Set prefetch buffer size for the statement (we're assuming that one row is ~1K sized) */ -int php_oci_statement_set_prefetch(php_oci_statement *statement, ub4 size TSRMLS_DC) +int php_oci_statement_set_prefetch(php_oci_statement *statement, long size TSRMLS_DC) { ub4 prefetch = size * 1024; |
