lwe Tue Nov 20 19:58:40 2007 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/interbase ibase_query.c
Log:
Win32 fails to build
http://cvs.php.net/viewvc.cgi/php-src/ext/interbase/ibase_query.c?r1=1.23.2.1.2.10.2.1&r2=1.23.2.1.2.10.2.2&diff_format=u
Index: php-src/ext/interbase/ibase_query.c
diff -u php-src/ext/interbase/ibase_query.c:1.23.2.1.2.10.2.1
php-src/ext/interbase/ibase_query.c:1.23.2.1.2.10.2.2
--- php-src/ext/interbase/ibase_query.c:1.23.2.1.2.10.2.1 Thu Nov 8
19:16:27 2007
+++ php-src/ext/interbase/ibase_query.c Tue Nov 20 19:58:39 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ibase_query.c,v 1.23.2.1.2.10.2.1 2007/11/08 19:16:27 lwe Exp $ */
+/* $Id: ibase_query.c,v 1.23.2.1.2.10.2.2 2007/11/20 19:58:39 lwe Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -123,9 +123,11 @@
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];
+ static char info[] = { isc_info_base_level, isc_info_end };
+ char res_buf[8];
+
if (SUCCESS == isc_database_info(IB_STATUS, &link->handle,
- sizeof(db_items),
db_items, sizeof(res_buf), res_buf)) {
+ sizeof(info), info,
sizeof(res_buf), res_buf)) {
if (isc_dsql_free_statement(IB_STATUS, &stmt,
DSQL_drop)) {
_php_ibase_error(TSRMLS_C);
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php