#44137 [Bgs]: Compile will fail with MySQL-5.1.23-rc

2008-02-23 Thread jari dot tuomoja at gmail dot com
 ID:   44137
 User updated by:  jari dot tuomoja at gmail dot com
 Reported By:  jari dot tuomoja at gmail dot com
 Status:   Bogus
 Bug Type: MySQLi related
 Operating System: Fedora Core 6, x86_64
 PHP Version:  5.2.5
 New Comment:

I submitted this bug to here because in MySQL bug library they said
that this is not MySQL related bug - MySQLi is under PHP dev. But now it
seems that this bug is MySQL related bug.

Like I said already: everything works with previous version of MySQL
(5.1.22-RC) but not with the newest one (5.1.23-RC).

I think that Release Candidate should be more stable than beta -version
and if there is bug with RC -version, it should be repaired asap. And
when MySQL is one letter of LAMP and PHP is another letter, I think this
is quite important bug.

But I hope that PHP  MySQL communities will find solution for this bug
per now.

--JT--


Previous Comments:


[2008-02-24 01:03:46] [EMAIL PROTECTED]

And please, in the future don't report bugs caused by some 3rd party
library here which isn't even released as stable yet.



[2008-02-24 01:01:05] [EMAIL PROTECTED]

And it's not PHP problem but Mysql problem since they broke the BC in
their libs/headers. :)



[2008-02-23 23:14:42] james dot j dot hackett at gmail dot com

This isn't a fedora problem, I am experiencing the same bug on Debian.



[2008-02-18 19:41:55] [EMAIL PROTECTED]

A little more info: we are discussing this internally at MySQL. Its
possible that the change which has caused this (unintended) problem will
be reverted soon.



[2008-02-18 15:27:57] [EMAIL PROTECTED]

ACK, please try the latest versions. I recall similar issues not on FC6
but in general. There have been changes to some structures. Let me ping
Andrey, he might know more.

Ulf



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/44137

-- 
Edit this bug report at http://bugs.php.net/?id=44137edit=1


#44137 [Fbk-Opn]: Compile will fail with MySQL-5.1.23-rc

2008-02-16 Thread jari dot tuomoja at gmail dot com
 ID:   44137
 User updated by:  jari dot tuomoja at gmail dot com
 Reported By:  jari dot tuomoja at gmail dot com
-Status:   Feedback
+Status:   Open
 Bug Type: MySQLi related
 Operating System: Fedora Core 6, x86_64
 PHP Version:  5.2.5
 New Comment:

Here is the configure script:

./configure --with-zlib-dir=/usr/local/ --enable-shared --enable-static
--disable-short-tags --with-apxs2=/usr/local/apache2/bin/apxs --with-bz2
--with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
--with-pdo-mysql=/usr/local/mysql/ --enable-exif --with-gd=/usr/local/
--with-freetype-dir=/usr/local/include/freetype2/
--with-png-dir=/usr/local/include/ --enable-mbstring=all
--enable-gd-native-ttf --enable-calendar --enable-zip
--enable-sqlite-utf8 --with-openssl --with-mcrypt --with-mhash
--with-pear --enable-soap --enable-mod-charset --enable-ftp --with-xsl


./configure is succeed but when running make, then come this:

/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_change_user':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:420: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:420: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:420: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_kill':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1152: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1152: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1152: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_ping':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1333: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1333: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1333: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_prepare':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1376: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1377: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1383: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1383: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1383: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_real_connect':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1453: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1454: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_real_query':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1492: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1492: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1492: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_select_db':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1761: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1761: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1761: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_store_result':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2058: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2058: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2058: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_use_result':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2112: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2112: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2112: error: 'NET' has no
member named 'last_error'
make: *** [ext/mysqli/mysqli_api.lo] Error 1


I hope this helps.


--JARI--


Previous Comments:


[2008-02-16 18:11:31] [EMAIL PROTECTED]

Can't reproduce, please give the relevant error messages and, if
possible, the link to MySQL Bug. Thanks.



[2008-02-16 07:20:01] jari dot tuomoja at gmail dot com

Description:

When compiling MySQL 5.1.23-rc, option
--with-mysqli=/youd/dir/to/mysql_config will always fail.

MySQL and PDO are working ok but mysqli is failing. With MySQL

#44137 [Opn]: Compile will fail with MySQL-5.1.23-rc

2008-02-16 Thread jari dot tuomoja at gmail dot com
 ID:   44137
 User updated by:  jari dot tuomoja at gmail dot com
 Reported By:  jari dot tuomoja at gmail dot com
 Status:   Open
 Bug Type: MySQLi related
 Operating System: Fedora Core 6, x86_64
 PHP Version:  5.2.5
 New Comment:

MySQL have compiled with following options:

./configure --prefix=/usr/local/mysql --enable-shared --enable-static
--without-server

Server has all latest libraries in use, they are installed with yum
from Fedora reposity.

--JARI--


Previous Comments:


[2008-02-17 07:08:32] jari dot tuomoja at gmail dot com

Here is the configure script:

./configure --with-zlib-dir=/usr/local/ --enable-shared --enable-static
--disable-short-tags --with-apxs2=/usr/local/apache2/bin/apxs --with-bz2
--with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
--with-pdo-mysql=/usr/local/mysql/ --enable-exif --with-gd=/usr/local/
--with-freetype-dir=/usr/local/include/freetype2/
--with-png-dir=/usr/local/include/ --enable-mbstring=all
--enable-gd-native-ttf --enable-calendar --enable-zip
--enable-sqlite-utf8 --with-openssl --with-mcrypt --with-mhash
--with-pear --enable-soap --enable-mod-charset --enable-ftp --with-xsl


./configure is succeed but when running make, then come this:

/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_change_user':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:420: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:420: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:420: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_kill':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1152: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1152: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1152: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_ping':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1333: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1333: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1333: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_prepare':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1376: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1377: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1383: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1383: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1383: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_real_connect':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1453: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1454: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_real_query':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1492: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1492: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1492: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_select_db':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1761: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1761: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1761: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_store_result':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2058: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2058: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2058: error: 'NET' has no
member named 'last_error'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function
'zif_mysqli_use_result':
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2112: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2112: error: 'NET' has no
member named 'last_errno'
/usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2112: error: 'NET' has no
member named 'last_error'
make: *** [ext/mysqli/mysqli_api.lo] Error 1


I hope this helps.


--JARI--



[2008-02-16 18:11:31] [EMAIL PROTECTED]

Can't reproduce, please give the relevant error messages and, if
possible, the link

#44137 [NEW]: Compile will fail with MySQL-5.1.23-rc

2008-02-15 Thread jari dot tuomoja at gmail dot com
From: jari dot tuomoja at gmail dot com
Operating system: Fedora Core 6, x86_64
PHP version:  5.2.5
PHP Bug Type: MySQLi related
Bug description:  Compile will fail with MySQL-5.1.23-rc

Description:

When compiling MySQL 5.1.23-rc, option
--with-mysqli=/youd/dir/to/mysql_config will always fail.

MySQL and PDO are working ok but mysqli is failing. With MySQL 5.1.22-rc
everything works well.

MySQL answered that this is a bug in PHP, not in MySQL. MySQL server is
working okay.

Reproduce code:
---
Compile php-5.2.5 with mysqli -option.

Expected result:

Compile ok

Actual result:
--
Error messages and compile will exit

-- 
Edit bug report at http://bugs.php.net/?id=44137edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=44137r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44137r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44137r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44137r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44137r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=44137r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=44137r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=44137r=needscript
Try newer version:http://bugs.php.net/fix.php?id=44137r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=44137r=support
Expected behavior:http://bugs.php.net/fix.php?id=44137r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=44137r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=44137r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44137r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=44137r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=44137r=dst
IIS Stability:http://bugs.php.net/fix.php?id=44137r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=44137r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44137r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=44137r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=44137r=mysqlcfg