php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28611 mysqli extension does not compile with MySQL 5.0.0
Submitted: 2004-06-02 23:05 UTC Modified: 2004-06-03 00:04 UTC
From: tim at timcrider dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.0.0RC2 OS: Fedora Core 2
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: tim at timcrider dot com
New email:
PHP Version: OS:

 

 [2004-06-02 23:05 UTC] tim at timcrider dot com
Description:
------------
Trying to compile the mysqli extension against MySQL 5.0.0 generates the following compile failure.

/data/BUILD/php/ext/mysqli/mysqli_prop.c: In function `stmt_affected_rows_read':
/data/BUILD/php/ext/mysqli/mysqli_prop.c:189: error: structure has no member named `affected_rows'
/data/BUILD/php/ext/mysqli/mysqli_prop.c:189: error: structure has no member named `affected_rows'
/data/BUILD/php/ext/mysqli/mysqli_prop.c:189: error: structure has no member named `affected_rows'
make: *** [ext/mysqli/mysqli_prop.lo] Error 1

MySQL's mysql_config returns
        --cflags         [-I/usr/local/include/mysql]
        --include        [-I/usr/local/include/mysql]
        --libs           [-L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm]
        --libs_r         [-L/usr/local/lib/mysql -lmysqlclient_r -lpthread -lz -lcrypt -lnsl -lm -lpthread]
        --socket         [/var/lib/mysql/mysql.sock]
        --port           [3306]
        --version        [5.0.0-alpha]
        --libmysqld-libs [-L/usr/local/lib/mysql -lmysqld -lpthread -lz -lcrypt -lnsl -lm -lpthread]


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-03 00:04 UTC] amt@php.net
This is expected. MySQL 5.0 is "development" and often trails behind MySQL 4.1 in getting the latest patches. Eventually, the MySQL folks will get it into sync.
 [2023-04-12 23:12 UTC] t45de11 at gmail dot com
detail please (http://vintagedigitalwatches.com/)github.com
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Feb 08 20:00:01 2026 UTC