|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56726 implement preparer fallback when talking with 4.0 servers
Submitted: 2005-12-16 08:10 UTC Modified: 2006-04-09 04:11 UTC
From: pav at FreeBSD dot org Assigned: wez (profile)
Status: Closed Package: PDO_MYSQL (PECL)
PHP Version: 5.1.1 OS: FreeBSD
Private report: No CVE-ID: None
 [2005-12-16 08:10 UTC] pav at FreeBSD dot org
PDO_MYSQL compiled with mysql-client 5.0 can't talk with 4.0.X servers, because 4.0.X servers don't understand prepare commands. Implement a fallback to "emulated" preparer when talking to 4.0.X and older servers, per TODO comment in source.

Reproduce code:
Patch against pecl release 1.0.1

Expected result:
get PDOStatement object with results

Actual result:
getting error message "Unknown command"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-09 04:11 UTC]
Thanks for the patch!
Fixed in CVS.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Sep 23 23:03:36 2021 UTC