List:Commits« Previous MessageNext Message »
From:grichter Date:March 27 2007 8:13am
Subject:PHP mysqlnd svn commit: r263 - trunk/ext/mysqli
View as plain text  
Author: grichter
Date: 2007-03-27 10:13:05 +0200 (Tue, 27 Mar 2007)
New Revision: 263

Modified:
   trunk/ext/mysqli/mysqli.c
   trunk/ext/mysqli/mysqli_nonapi.c
Log:
fixed last fix
removed printf


Modified: trunk/ext/mysqli/mysqli.c
===================================================================
--- trunk/ext/mysqli/mysqli.c	2007-03-27 07:11:08 UTC (rev 262)
+++ trunk/ext/mysqli/mysqli.c	2007-03-27 08:13:05 UTC (rev 263)
@@ -787,7 +787,7 @@
 
 		convert_to_string(*values_entry);
 #if PHP_MAJOR_VERSION >= 6
-		php_info_print_table_row(2, ZSTR(&string_key), Z_STRVAL_PP(values_entry));
+		php_info_print_table_row(2, string_key, Z_STRVAL_PP(values_entry));
 #else
 		php_info_print_table_row(2, string_key, Z_STRVAL_PP(values_entry));
 #endif

Modified: trunk/ext/mysqli/mysqli_nonapi.c
===================================================================
--- trunk/ext/mysqli/mysqli_nonapi.c	2007-03-27 07:11:08 UTC (rev 262)
+++ trunk/ext/mysqli/mysqli_nonapi.c	2007-03-27 08:13:05 UTC (rev 263)
@@ -199,7 +199,7 @@
 		/* save persistent connection */
 		if (zend_hash_update(&EG(persistent_list), hash_key, hash_len + 1, (void *)&le,

 						 sizeof(le), NULL) == FAILURE) {
-			printf("Error. Can't store persistent connection\n");
+			php_error_docref(NULL TSRMLS_CC, E_WARNING, "Can't store persistent connection");
 		} 
 	}
 	if (persistent) {

Thread
PHP mysqlnd svn commit: r263 - trunk/ext/mysqligrichter27 Mar