php.net |  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
20 + 22 = ?
Subscribe to this entry?

 
 [2004-08-09 02:30 UTC] auroraeosrose at hotmail dot com
Description:
------------
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




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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] georg@php.net
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
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 21:01:36 2024 UTC