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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: auroraeosrose at hotmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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 Nov 21 15:01:30 2024 UTC