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

kurgja


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

[2005-11-26 01:00:28] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2005-11-18 09:35:41] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



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

[2005-11-18 09:07:50] alexdow__ at hotmail dot com

$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

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

[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