pajoye Mon, 03 May 2010 19:31:50 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=298928
Log: - fix build (declaration must be first) Changed paths: U php/php-src/trunk/ext/oci8/oci8.c Modified: php/php-src/trunk/ext/oci8/oci8.c =================================================================== --- php/php-src/trunk/ext/oci8/oci8.c 2010-05-03 19:29:05 UTC (rev 298927) +++ php/php-src/trunk/ext/oci8/oci8.c 2010-05-03 19:31:50 UTC (rev 298928) @@ -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