pajoye                                   Mon, 03 May 2010 19:29:05 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=298927

Log:
- fix build (declaration must be first)

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/oci8/oci8.c

Modified: php/php-src/branches/PHP_5_3/ext/oci8/oci8.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/oci8/oci8.c        2010-05-03 19:28:19 UTC 
(rev 298926)
+++ php/php-src/branches/PHP_5_3/ext/oci8/oci8.c        2010-05-03 19:29:05 UTC 
(rev 298927)
@@ -1638,10 +1638,10 @@
  */
 int php_oci_fetch_sqltext_offset(php_oci_statement *statement, text **sqltext, 
ub2 *error_offset TSRMLS_DC)
 {
+       sword errstatus;
+
        *sqltext = NULL;
        *error_offset = 0;
-       sword errstatus;
-
        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) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to