summaryrefslogtreecommitdiff
path: root/ext/pdo
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2013-06-10 13:37:56 -0700
committerStanislav Malyshev <stas@php.net>2013-06-10 13:37:56 -0700
commit09bc6d7cf6080155c456c065eaad1aaa3880863d (patch)
treeb751f1472d1cbdecaee9375b82210641091d8b21 /ext/pdo
parent00495d160b995535d0f09d32fcee5655e07aec9e (diff)
parent84e35fb2e0fcd7400d289e06395c975fc7a77816 (diff)
downloadphp-git-09bc6d7cf6080155c456c065eaad1aaa3880863d.tar.gz
Merge branch 'PHP-5.5'
* PHP-5.5: typo fixes (argument) typo fixes (accommodate, parameter)
Diffstat (limited to 'ext/pdo')
-rw-r--r--ext/pdo/pdo_sql_parser.c4
-rw-r--r--ext/pdo/pdo_sql_parser.re4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/pdo/pdo_sql_parser.c b/ext/pdo/pdo_sql_parser.c
index ec488e053f..37c71987a9 100644
--- a/ext/pdo/pdo_sql_parser.c
+++ b/ext/pdo/pdo_sql_parser.c
@@ -761,9 +761,9 @@ int old_pdo_parse_params(pdo_stmt_t *stmt, char *inquery, int inquery_len, char
while (SUCCESS == zend_hash_get_current_data(params, (void**)&param)) {
if(param->parameter) {
convert_to_string(param->parameter);
- /* accomodate a string that needs to be fully quoted
+ /* accommodate a string that needs to be fully quoted
bind placeholders are at least 2 characters, so
- the accomodate their own "'s
+ the accommodate their own "'s
*/
newbuffer_len += padding * Z_STRLEN_P(param->parameter);
}
diff --git a/ext/pdo/pdo_sql_parser.re b/ext/pdo/pdo_sql_parser.re
index d4272d679b..80e3b4f95f 100644
--- a/ext/pdo/pdo_sql_parser.re
+++ b/ext/pdo/pdo_sql_parser.re
@@ -408,9 +408,9 @@ int old_pdo_parse_params(pdo_stmt_t *stmt, char *inquery, int inquery_len, char
while (SUCCESS == zend_hash_get_current_data(params, (void**)&param)) {
if(param->parameter) {
convert_to_string(param->parameter);
- /* accomodate a string that needs to be fully quoted
+ /* accommodate a string that needs to be fully quoted
bind placeholders are at least 2 characters, so
- the accomodate their own "'s
+ the accommodate their own "'s
*/
newbuffer_len += padding * Z_STRLEN_P(param->parameter);
}