summaryrefslogtreecommitdiff
path: root/ext/pdo/pdo_sql_parser.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2015-05-16 14:20:41 -0700
committerStanislav Malyshev <stas@php.net>2015-05-16 14:20:41 -0700
commit2660fb96aac78658f4f7c1ac4101c3f464536ca9 (patch)
tree15124637c1a10a5f1f952e1dd1ccfd201a288532 /ext/pdo/pdo_sql_parser.c
parentc9f27ee4227268bc74fc54e0e06102317e614804 (diff)
parent8bdec7a2489220983db439b7ad729f71e798dc75 (diff)
downloadphp-git-2660fb96aac78658f4f7c1ac4101c3f464536ca9.tar.gz
Merge branch 'pull-request/1277'
* pull-request/1277: fix typos
Diffstat (limited to 'ext/pdo/pdo_sql_parser.c')
-rw-r--r--ext/pdo/pdo_sql_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo/pdo_sql_parser.c b/ext/pdo/pdo_sql_parser.c
index 11e245d7d1..9e1d4185d5 100644
--- a/ext/pdo/pdo_sql_parser.c
+++ b/ext/pdo/pdo_sql_parser.c
@@ -506,7 +506,7 @@ PDO_API int pdo_parse_params(pdo_stmt_t *stmt, char *inquery, size_t inquery_len
if (stmt->named_rewrite_template) {
/* magic/hack.
- * We we pretend that the query was positional even if
+ * We pretend that the query was positional even if
* it was named so that we fall into the
* named rewrite case below. Not too pretty,
* but it works. */
@@ -523,7 +523,7 @@ PDO_API int pdo_parse_params(pdo_stmt_t *stmt, char *inquery, size_t inquery_len
}
if (params && bindno != zend_hash_num_elements(params) && stmt->supports_placeholders == PDO_PLACEHOLDER_NONE) {
- /* extra bit of validation for instances when same params are bound more then once */
+ /* extra bit of validation for instances when same params are bound more than once */
if (query_type != PDO_PLACEHOLDER_POSITIONAL && bindno > zend_hash_num_elements(params)) {
int ok = 1;
for (plc = placeholders; plc; plc = plc->next) {