ID:               35272
 User updated by:  alexdow__ at hotmail dot com
 Reported By:      alexdow__ at hotmail dot com
 Status:           Open
 Bug Type:         PDO related
 Operating System: Windows XP SP2
 PHP Version:      5.1.0RC5
 New Comment:

$query = "INSERT INTO users
(username,email,country,city,password,creation_date,status)
                      VALUES
(:username,:email,:country,:city,:password,NOW(),1)";

here is a query I use


Previous Comments:
------------------------------------------------------------------------

[2005-11-18 08:17:11] alexdow__ at hotmail dot com

Description:
------------
Preparing a query on MySQL 5.0 using PDO results in Apache crashing.

Reproduce code:
---------------
$pdo = new
PDO('mysql:host=localhost;dbname=somedb','user','pass',array(PDO::ATTR_PERSISTENT
=> true));                              
                
$statement = $pdo->prepare($argQuery);

Expected result:
----------------
I expect $statement to be a proper PDOStatement object.

Actual result:
--------------
Actual result is Apache crashing. I'm not sure how to generate
backtraces in windows other than debugging through VS.NET, if you want
that.


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


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

Reply via email to