From c26edafb17279a2ab0222c46ec96c8dae4055780 Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Mon, 9 Aug 2004 04:33:40 +0000 Subject: [PATCH] fixed bug #29577 (MYSQLI_CLIENT_FOUND_ROWS undefined) --- NEWS | 2 ++ ext/mysqli/mysqli.c | 1 + 2 files changed, 3 insertions(+) diff --git a/NEWS b/NEWS index 1cff51a445..010b29a6dd 100644 --- a/NEWS +++ b/NEWS @@ -4,8 +4,10 @@ PHP NEWS - Updated several libraries bundled with the windows release which now includes libxml2-2.6.11, libxslt-1.1.7 and iconv-1.9.1. (Rob, Edin) - Improved and moved ActiveScript SAPI to PECL. (Wez) +- Fixed bug #29577 (MYSQLI_CLIENT_FOUND_ROWS undefined) (Georg) - Fixed bug #29573 (Segmentation fault, when exception thrown within PHP function called from XSLT). (Christian) +- Fixed bug #29522 (accessing properties without connection) (Georg) - Fixed bug #29505 (get_class_vars() severely broken when used with arrays). (Marcus) - Fixed bug #29490 (.Net object instantiation failed). (Michael Sisolak). diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 10edca186b..ea3e116379 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -438,6 +438,7 @@ PHP_MINIT_FUNCTION(mysqli) REGISTER_LONG_CONSTANT("MYSQLI_CLIENT_INTERACTIVE", CLIENT_INTERACTIVE, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("MYSQLI_CLIENT_IGNORE_SPACE", CLIENT_IGNORE_SPACE, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("MYSQLI_CLIENT_NO_SCHEMA", CLIENT_NO_SCHEMA, CONST_CS | CONST_PERSISTENT); + REGISTER_LONG_CONSTANT("MYSQLI_CLIENT_FOUND_ROWS", CLIENT_FOUND_ROWS, CONST_CS | CONST_PERSISTENT); /* for mysqli_query */ REGISTER_LONG_CONSTANT("MYSQLI_STORE_RESULT", 0, CONST_CS | CONST_PERSISTENT); -- 2.50.1