Edit report at http://bugs.php.net/bug.php?id=51300&edit=1

 ID:               51300
 User updated by:  tanguy dot pruvot at gmail dot com
 Reported by:      tanguy dot pruvot at gmail dot com
 Summary:          SELECT * CRASH With LibMySQL > 5.0.51
 Status:           Bogus
 Type:             Bug
 Package:          PDO related
 Operating System: Windows 7
 PHP Version:      5.2.13

 New Comment:

Yes... i will upgrade to 5.3... when all modules will be well tested on
:)



I think Debian MySQL Package is locked to 5.0.51a for that too...



In fact i'm maintaining a wamp package, and PhpMyAdmin has a big Warning
when 

Client API is not at the same version as the server...


Previous Comments:
------------------------------------------------------------------------
[2010-03-15 10:36:01] paj...@php.net

You don't need libmysql 5.1 to communicate with a 5.1 server, libmysql
5.0 works just fine.



I would also suggest to move to 5.3 if you like a more recent mysql
drivers (it uses a new driver not depending on libmysql). Symfony works
fine with 5.3.

------------------------------------------------------------------------
[2010-03-15 10:33:20] tanguy dot pruvot at gmail dot com

Sure i understand... but why 5.0.51 ? 5.0 community server has been
replaced by 

5.1 since .... a lot of time



I hope my solution will be usefull to others like me who want same
environnement 

for symfony in linux and windows... with a 5.0.52 to 90 or 5.1 MySQL
Server



Detected and fixed the problem with OllyDbg... mysqli is not affected



Does all other PDO db use this same 0x50 byte-sized column structure ?

------------------------------------------------------------------------
[2010-03-15 10:23:46] paj...@php.net

Sorry but there is a misunderstanding.



We provide libmysql 5.0.x (don't remember which version exactly right
now). PHP was compiled against this version, size of the struct and
other elemenets were defined at compilation and linking time.



Further updates of the 5.0.x libraries should not change these sizs or
it will break the binary compatibility and makes the applications behave
badly (crashes being one of these effects).



Thanks for your understanding but there is no bug in php.

------------------------------------------------------------------------
[2010-03-15 10:16:23] paj...@php.net

See the definition of ABI and explain it to the mysql developers: 



http://en.wikipedia.org/wiki/Application_binary_interface



That's not something we can or could test or change at runtime.

------------------------------------------------------------------------
[2010-03-15 10:14:53] tanguy dot pruvot at gmail dot com

The Binary Fix is for php_pdo_mysql.dll ... not libmysql

------------------------------------------------------------------------


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/bug.php?id=51300


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

Reply via email to