summaryrefslogtreecommitdiff
path: root/ext/pdo/pdo_sql_parser.c
diff options
context:
space:
mode:
authorolshevskiy87 <olshevskiy87@bk.ru>2015-05-13 22:05:59 +0400
committerolshevskiy87 <olshevskiy87@bk.ru>2015-05-13 22:28:35 +0400
commit8bdec7a2489220983db439b7ad729f71e798dc75 (patch)
treed27c3a409fe50b03c059fb80c6be3864143ce1df /ext/pdo/pdo_sql_parser.c
parentabb616ae2042e5769cf4fc5e9ab12bc4d6938a58 (diff)
downloadphp-git-8bdec7a2489220983db439b7ad729f71e798dc75.tar.gz
fix typos
Signed-off-by: olshevskiy87 <olshevskiy87@bk.ru>
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) {