[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-bugs
Subject:    [DOC-BUGS] #50022 [NEW]: PDO::query returns false on failure
From:       "liam at morland dot ca" <doc-bugs () lists ! php ! net>
Date:       2009-10-27 17:46:06
Message-ID: bug-50022 () bugs ! php ! net
[Download RAW message or body]

From:             liam at morland dot ca
Operating system: 
PHP version:      5.2.11
PHP Bug Type:     Documentation problem
Bug description:  PDO::query returns false on failure

Description:
------------
PDO::query returns false on failure. Documentation states that it always
returns a PDOStatement object.

Reproduce code:
---------------
---
From manual page: pdo.query#Return Values
---



-- 
Edit bug report at http://bugs.php.net/?id=50022&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=50022&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=50022&r=trysnapshot53
Try a snapshot (PHP 6.0):            http://bugs.php.net/fix.php?id=50022&r=trysnapshot60
Fixed in SVN:                        http://bugs.php.net/fix.php?id=50022&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50022&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=50022&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=50022&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=50022&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=50022&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=50022&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=50022&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=50022&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=50022&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=50022&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=50022&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=50022&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=50022&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=50022&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=50022&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=50022&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=50022&r=mysqlcfg


-- 
PHP Documentation Bugs Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic