summaryrefslogtreecommitdiff
path: root/ext/oci8
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-05-03 19:29:05 +0000
committerPierre Joye <pajoye@php.net>2010-05-03 19:29:05 +0000
commit55320ca1b867434e0d61d3d72a31424804db6c57 (patch)
tree3aefd3be1dde50b978a02c443b0f00480d3fa060 /ext/oci8
parentcac3520882b947455a3107aac3c401b0604e2fae (diff)
downloadphp-git-55320ca1b867434e0d61d3d72a31424804db6c57.tar.gz
- fix build (declaration must be first)
Diffstat (limited to 'ext/oci8')
-rw-r--r--ext/oci8/oci8.c4
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) {