svn: /php/php-src/trunk/ext/interbase/ ibase_query.c

From: Date: Tue, 08 Sep 2009 01:44:37 +0000
Subject: svn: /php/php-src/trunk/ext/interbase/ ibase_query.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-60348@lists.php.net to get a copy of this message
kalle Tue, 08 Sep 2009 01:44:37 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288147 Log: Fixed ext/interbase build Changed paths: U php/php-src/trunk/ext/interbase/ibase_query.c Modified: php/php-src/trunk/ext/interbase/ibase_query.c =================================================================== --- php/php-src/trunk/ext/interbase/ibase_query.c 2009-09-07 23:11:43 UTC (rev 288146) +++ php/php-src/trunk/ext/interbase/ibase_query.c 2009-09-08 01:44:37 UTC (rev 288147) @@ -121,9 +121,11 @@ static void _php_ibase_free_stmt_handle(ibase_db_link *link, isc_stmt_handle stmt TSRMLS_DC) /* {{{ */ { if (stmt) { - IBDEBUG("Dropping statement handle (free_stmt_handle)..."); /* Only free statement if db-connection is still open */ char db_items[] = {isc_info_page_size}, res_buf[40]; + + IBDEBUG("Dropping statement handle (free_stmt_handle)..."); + if (SUCCESS == isc_database_info(IB_STATUS, &link->handle, sizeof(db_items), db_items, sizeof(res_buf), res_buf)) { if (isc_dsql_free_statement(IB_STATUS, &stmt, DSQL_drop)) {

« previous php.cvs (#60348) next »