php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57326 Bug with MySQL4.0
Submitted: 2006-10-27 12:54 UTC Modified: 2011-05-26 08:33 UTC
From: dshaposhnik at gmail dot com Assigned:
Status: Closed Package: PDO_MYSQL (PECL)
PHP Version: 5.0.4 OS: FreeBSD4.9
Private report: No CVE-ID: None
 [2006-10-27 12:54 UTC] dshaposhnik at gmail dot com
Description:
------------
I've tried to make PDO_MYSQL but compilation was failed on line 478 of mysql_driver.c cause constant (or whatever it is) MYSQL_OPT_LOCAL_INFILE is undefined. For example, string MYSQL_OPT_CONNECT_TIMEOUT was found in /usr/local/include/mysql, but MYSQL_OPT_LOCAL_INFILE is not declared.
I've commented if(){} in mysql_driver.c on line 478 and compilation was success.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-26 08:19 UTC] johannes at schlueters dot de
MySQL 4.0 - meanwhile - is old, I think this was fixed once ... in PHP 5.4 PDO_mysql will require MySQL 4.1 though. (which is out of support at oracle already ...)
 [2011-05-26 08:33 UTC] dshaposhnik at gmail dot com
Closing this one - it lost relevance years ago.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC