|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29577 Mysqli constant not defined but in documentation
Submitted: 2004-08-09 02:30 UTC Modified: 2004-08-09 06:34 UTC
From: auroraeosrose at hotmail dot com Assigned: georg (profile)
Status: Closed Package: MySQL related
PHP Version: 5CVS-2004-08-09 (dev) OS: Winxp pro sp1
Private report: No CVE-ID: None
 [2004-08-09 02:30 UTC] auroraeosrose at hotmail dot com
Trying to use MYSQLI_CLIENT_FOUND_ROWS with mysqli_real_connect and getting "Use of undefined constant" error.  The flag supposedly exists according to the docs, but when looking at the mysqli source files it's never defined :)  It should either be deleted from the docs, or defined somewhere if it was simply forgotten


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-09 02:39 UTC] auroraeosrose at hotmail dot com
somewhere around line 452 of mysqli.c adding REGISTER_LONG_CONSTANT("MYSQLI_CLIENT_FOUND_ROWS", CLIENT_FOUND_ROWS, CONST_CS | CONST_PERSISTENT); should fix it :)
 [2004-08-09 06:34 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon May 25 09:01:25 2020 UTC