]> granicus.if.org Git - php/commitdiff
return FALSE if driver doesn't support quoting (this is what docu says)
authorAntony Dovgal <tony2001@php.net>
Thu, 23 Mar 2006 19:01:46 +0000 (19:01 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 23 Mar 2006 19:01:46 +0000 (19:01 +0000)
also fixed PECL bug #6365

ext/pdo/pdo_dbh.c

index ec4a3fe3d884fdea9b2d1194ad68940e715a6a6f..458a36bcf6f5a91a8b5d10b875e65be581e44dfb 100755 (executable)
@@ -1036,6 +1036,7 @@ static PHP_METHOD(PDO, quote)
                RETURN_STRINGL(qstr, qlen, 0);
        }
        PDO_HANDLE_DBH_ERR();
+       RETURN_FALSE;
 }
 /* }}} */