diff options
author | Pierre Joye <pajoye@php.net> | 2010-05-03 19:29:05 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2010-05-03 19:29:05 +0000 |
commit | 55320ca1b867434e0d61d3d72a31424804db6c57 (patch) | |
tree | 3aefd3be1dde50b978a02c443b0f00480d3fa060 /ext/oci8 | |
parent | cac3520882b947455a3107aac3c401b0604e2fae (diff) | |
download | php-git-55320ca1b867434e0d61d3d72a31424804db6c57.tar.gz |
- fix build (declaration must be first)
Diffstat (limited to 'ext/oci8')
-rw-r--r-- | ext/oci8/oci8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 74a3e00f1f..58ade41fa5 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -1638,10 +1638,10 @@ sb4 php_oci_fetch_errmsg(OCIError *error_handle, text **error_buf TSRMLS_DC) */ int php_oci_fetch_sqltext_offset(php_oci_statement *statement, text **sqltext, ub2 *error_offset TSRMLS_DC) { - *sqltext = NULL; - *error_offset = 0; sword errstatus; + *sqltext = NULL; + *error_offset = 0; PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)statement->stmt, OCI_HTYPE_STMT, (dvoid *) sqltext, (ub4 *)0, OCI_ATTR_STATEMENT, statement->err)); if (errstatus != OCI_SUCCESS) { |