cvs: pecl /ingres CHANGELOG ii.c
| From: | Grant Croker | Date: | Wed, 13 Dec 2006 18:04:31 +0000 |
| Subject: | cvs: pecl /ingres CHANGELOG ii.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-6797@lists.php.net to get a copy of this message | ||
grantc Wed Dec 13 18:04:31 2006 UTC
Modified files:
/pecl/ingres ii.c CHANGELOG
Log:
Fixed SEGV when closing a statement
http://cvs.php.net/viewvc.cgi/pecl/ingres/ii.c?r1=1.84&r2=1.85&diff_format=u
Index: pecl/ingres/ii.c
diff -u pecl/ingres/ii.c:1.84 pecl/ingres/ii.c:1.85
--- pecl/ingres/ii.c:1.84 Wed Dec 13 13:47:05 2006
+++ pecl/ingres/ii.c Wed Dec 13 18:04:31 2006
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ii.c,v 1.84 2006/12/13 13:47:05 grantc Exp $ */
+/* $Id: ii.c,v 1.85 2006/12/13 18:04:31 grantc Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -130,6 +130,8 @@
IIapi_close(&closeParm);
ii_sync(&(closeParm.cl_genParm));
+ IIG(errorText) = NULL;
+
if (ii_success(&(closeParm.cl_genParm), ii_link TSRMLS_CC) == II_FAIL)
{
php_error_docref(NULL TSRMLS_CC, E_WARNING, "_close_statement : failed ");
@@ -510,7 +512,7 @@
php_info_print_table_start();
php_info_print_table_header(2, "Ingres Support", "enabled");
php_info_print_table_row(2, "Ingres Extension Version", II_VERSION);
- php_info_print_table_row(2, "Revision", "$Revision: 1.84 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.85 $");
sprintf(buf, "%ld", IIAPI_VERSION );
php_info_print_table_row(2, "Ingres OpenAPI Version", buf);
sprintf(buf, "%ld", IIG(num_persistent));
@@ -556,7 +558,7 @@
IIAPI_GETEINFOPARM *error_info;
char * no_message;
- no_message = emalloc(1);
+ no_message = emalloc(1);
sprintf(no_message,"\0");
/* Initialise global variables */
http://cvs.php.net/viewvc.cgi/pecl/ingres/CHANGELOG?r1=1.26&r2=1.27&diff_format=u
Index: pecl/ingres/CHANGELOG
diff -u pecl/ingres/CHANGELOG:1.26 pecl/ingres/CHANGELOG:1.27
--- pecl/ingres/CHANGELOG:1.26 Wed Dec 13 13:47:06 2006
+++ pecl/ingres/CHANGELOG Wed Dec 13 18:04:31 2006
@@ -1,6 +1,7 @@
CVS
-- Fixed spurious E_WARNING with empty LOB dataset [grantc 13-11-06]
-- Fixed SEGV when ingres_close() is not called [grantc 13-11-06]
+- Fixed SEGV when closing a statement [grantc 13-12-06]
+- Fixed spurious E_WARNING with empty LOB dataset [grantc 13-12-06]
+- Fixed SEGV when ingres_close() is not called [grantc 13-12-06]
- Fixed auto commit cannot be enabled on shutdown [grantc 27-11-06]
- Fixed Array index start for php_ii_field_name [grantc 20-11-06]
- Fixed constant typo [grantc 22-10-06]