Ticket #215 (new defect)

Opened 2 years ago

Last modified 2 years ago

Problem with adodb when use pdo_mysql driver

Reported by: safari Assigned to: somebody
Priority: major Milestone: 0.9.6
Component: eAccelerator Version: 0.9.5
Keywords: Cc:

Description

Code:

<?
require_once(dirname(__FILE__).'/adodb/adodb-exceptions.inc.php');
require_once(dirname(__FILE__).'/adodb/adodb.inc.php');

echo "<BR>before";
$conn =& NewADOConnection("pdo_mysql://user:pwd@localhost/dbname?persist");
var_dump($conn);
?>

When not use eA, will see "before" and the dump of $conn value. When use eA, see "before" only; change connection type to mysql/mysqli, it worked again. No error found in eA log or apache/php log.

I guess that eA has problem when compiling/caching file adodb-pdo.inc.php or adodb-pdo_mysql.inc.php. When the error happened, the file adodb-pdo.inc.php was compiled/cached, but adodb-pdo_mysql.inc.php was not.

This bug also happened with xCache, wonder why? (use the same code/idea???); but worked fine with APC.

Change History

11/17/06 14:14:45 changed by Ben

It works fine in apache v2.0.59 + mysql v5.0.27 + php v5.2.0 + eA v0.9.6 Dev(285) + adodb v4.9.3a .

Could you tell me something about these?

11/22/06 02:43:36 changed by safari

The problem happened with eA v0.9.5, a stable release of eA!?