|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51259 PHP 5.3.2 + PDO MySQL not compatible with MySQL 4.0
Submitted: 2010-03-10 12:50 UTC Modified: 2010-08-18 12:50 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: aron dot ujvari at microsec dot hu Assigned: mysql (profile)
Status: Wont fix Package: PDO related
PHP Version: 5.3.2 OS: Linux
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.
Block user comment
Status: Assign to:
Bug Type:
From: aron dot ujvari at microsec dot hu
New email:
PHP Version: OS:


 [2010-03-10 12:50 UTC] aron dot ujvari at microsec dot hu
PHP 5.3.2 with PDO MySQL support cannot be built with MySQL 4.0.

MYSQLND support added to ext/pdo_mysql/mysql_statement.c brakes old MySQL version support, file cannot be compiled.

Some C macro conditionals probably incorrectly updated, so MySQL version don't have support for prepared statements cannot be used for building. I think this can be corrected by reorganizing some macro condinitional. I have created a patch to solve the problem but it probably needs some review and testing.

Patch file attached.


pdo-mysql-4.0-proposed-fix (last revision 2010-03-10 11:51 UTC by aron dot ujvari at microsec dot hu)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-10 22:06 UTC]
-Package: Compile Failure +Package: PDO related
 [2010-03-23 17:31 UTC]
Well, if you ask me, MySQL 4.0 is out of the game, . MySQL finally stopped supporting 4.0 about 1.5yrs ago.
 [2010-04-23 16:14 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: mysql
 [2010-08-05 15:29 UTC]
Automatic comment from SVN on behalf of johannes
Log: - Drop (broken) support for libmysql 3.23 and 4.0 from pdo_mysql, see bug #51259
 [2010-08-18 12:50 UTC]
-Status: Assigned +Status: Wont fix
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 19 07:01:31 2024 UTC