From: tim at timcrider dot com
Operating system: Fedora Core 2
PHP version: 5.0.0RC2
PHP Bug Type: Compile Failure
Bug description: mysqli extension does not compile with MySQL 5.0.0
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]
--
Edit bug report at http://bugs.php.net/?id=28611&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28611&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28611&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28611&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28611&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28611&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28611&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28611&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28611&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28611&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28611&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28611&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28611&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28611&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28611&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28611&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28611&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28611&r=float