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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 05 12:01:32 2024 UTC