svn: /php/php-src/trunk/ext/oci8/ oci8.c

From: Date: Mon, 03 May 2010 19:31:50 +0000
Subject: svn: /php/php-src/trunk/ext/oci8/ oci8.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-62527@lists.php.net to get a copy of this message
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) {

« previous php.cvs (#62527) next »