From 1ad4dd8795d4cf6d3750c105d94511814b3d7d26 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Thu, 23 Mar 2006 19:01:46 +0000 Subject: [PATCH] return FALSE if driver doesn't support quoting (this is what docu says) also fixed PECL bug #6365 --- ext/pdo/pdo_dbh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c index ec4a3fe3d8..458a36bcf6 100755 --- a/ext/pdo/pdo_dbh.c +++ b/ext/pdo/pdo_dbh.c @@ -1036,6 +1036,7 @@ static PHP_METHOD(PDO, quote) RETURN_STRINGL(qstr, qlen, 0); } PDO_HANDLE_DBH_ERR(); + RETURN_FALSE; } /* }}} */ -- 2.50.1