ID: 34270
Updated by: [EMAIL PROTECTED]
Reported By: nmariz at estadias dot com
-Status: Open
+Status: Feedback
Bug Type: PDO related
Operating System: Debian GNU/Linux 3.1 (Apache 2)
PHP Version: 5.1.0RC1
New Comment:
No, I don't trust anyone, not even myself when dealing with bugs. Is it
so hard to give the 2-3 lines before this that do the connection/etc?
Previous Comments:
------------------------------------------------------------------------
[2005-08-29 17:39:49] nmariz at estadias dot com
Man,
Is in the query part, this happens in several queries on my app.
I am not a beginner in PHP, so trust me...
Whatever, forget... this is a waste of time.
------------------------------------------------------------------------
[2005-08-29 17:07:13] [EMAIL PROTECTED]
I think you don't understand that I am very very lazy.
And that your problem _might_ be somewhere ELSE than in the query part.
So either give the full code or go away.
------------------------------------------------------------------------
[2005-08-29 17:00:45] nmariz at estadias dot com
What part in "Segmentation fault when executing an invalid
SQL(_____ANY_____) statement" did you not understand?
I think that you don't need more code to understand what i mean.
------------------------------------------------------------------------
[2005-08-29 13:24:51] [EMAIL PROTECTED]
What part in "a short but complete example script" did you not
understand?
------------------------------------------------------------------------
[2005-08-29 10:42:36] nmariz at estadias dot com
Segmentation fault when executing an invalid SQL statement:
<?php
(...)
// invalid sql statement
$query = 'SELECT id name,text FROM modules';
$stmt = $this->dbconn->query($query);
$result = $stmt->fetchAll();
$stmt = null;
return $result
(...)
?>
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/34270
--
Edit this bug report at http://bugs.php.net/?id=34270&edit=1