mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
typo fixes (accommodate, parameter)
This commit is contained in:
parent
7a1e670d76
commit
ed2e84e239
9 changed files with 13 additions and 13 deletions
|
@ -32,7 +32,7 @@ resources cannot be auto-converted.
|
||||||
Type specifiers
|
Type specifiers
|
||||||
---------------
|
---------------
|
||||||
The following list shows the type specifier, its meaning and the parameter
|
The following list shows the type specifier, its meaning and the parameter
|
||||||
types that need to be passed by address. All passed paramaters are set
|
types that need to be passed by address. All passed parameters are set
|
||||||
if the PHP parameter is non optional and untouched if optional and the
|
if the PHP parameter is non optional and untouched if optional and the
|
||||||
parameter is not present. The only exception is O where the zend_class_entry*
|
parameter is not present. The only exception is O where the zend_class_entry*
|
||||||
has to be provided on input and is used to verify the PHP parameter is an
|
has to be provided on input and is used to verify the PHP parameter is an
|
||||||
|
|
|
@ -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**)¶m)) {
|
while (SUCCESS == zend_hash_get_current_data(params, (void**)¶m)) {
|
||||||
if(param->parameter) {
|
if(param->parameter) {
|
||||||
convert_to_string(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
|
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);
|
newbuffer_len += padding * Z_STRLEN_P(param->parameter);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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**)¶m)) {
|
while (SUCCESS == zend_hash_get_current_data(params, (void**)¶m)) {
|
||||||
if(param->parameter) {
|
if(param->parameter) {
|
||||||
convert_to_string(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
|
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);
|
newbuffer_len += padding * Z_STRLEN_P(param->parameter);
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,8 +40,8 @@ static void delete_binding(void *binding);
|
||||||
static void delete_binding_persistent(void *binding);
|
static void delete_binding_persistent(void *binding);
|
||||||
static void delete_function(void *function);
|
static void delete_function(void *function);
|
||||||
static void delete_function_persistent(void *function);
|
static void delete_function_persistent(void *function);
|
||||||
static void delete_parameter(void *paramater);
|
static void delete_parameter(void *parameter);
|
||||||
static void delete_parameter_persistent(void *paramater);
|
static void delete_parameter_persistent(void *parameter);
|
||||||
static void delete_header(void *header);
|
static void delete_header(void *header);
|
||||||
static void delete_header_persistent(void *header);
|
static void delete_header_persistent(void *header);
|
||||||
static void delete_document(void *doc_ptr);
|
static void delete_document(void *doc_ptr);
|
||||||
|
|
|
@ -93617,7 +93617,7 @@ SQLITE_PRIVATE int sqlite3IndexedByLookup(Parse *pParse, struct SrcList_item *pF
|
||||||
** without worrying about messing up the presistent representation
|
** without worrying about messing up the presistent representation
|
||||||
** of the view.
|
** of the view.
|
||||||
**
|
**
|
||||||
** (3) Add terms to the WHERE clause to accomodate the NATURAL keyword
|
** (3) Add terms to the WHERE clause to accommodate the NATURAL keyword
|
||||||
** on joins and the ON and USING clause of joins.
|
** on joins and the ON and USING clause of joins.
|
||||||
**
|
**
|
||||||
** (4) Scan the list of columns in the result set (pEList) looking
|
** (4) Scan the list of columns in the result set (pEList) looking
|
||||||
|
@ -96115,7 +96115,7 @@ SQLITE_PRIVATE void sqlite3CodeRowTriggerDirect(
|
||||||
/*
|
/*
|
||||||
** This is called to code the required FOR EACH ROW triggers for an operation
|
** This is called to code the required FOR EACH ROW triggers for an operation
|
||||||
** on table pTab. The operation to code triggers for (INSERT, UPDATE or DELETE)
|
** on table pTab. The operation to code triggers for (INSERT, UPDATE or DELETE)
|
||||||
** is given by the op paramater. The tr_tm parameter determines whether the
|
** is given by the op parameter. The tr_tm parameter determines whether the
|
||||||
** BEFORE or AFTER triggers are coded. If the operation is an UPDATE, then
|
** BEFORE or AFTER triggers are coded. If the operation is an UPDATE, then
|
||||||
** parameter pChanges is passed the list of columns being modified.
|
** parameter pChanges is passed the list of columns being modified.
|
||||||
**
|
**
|
||||||
|
|
|
@ -1409,7 +1409,7 @@ static int register_bound_parameter_to_sqlite(struct php_sqlite3_bound_param *pa
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
/* {{{ proto bool SQLite3Stmt::bindParam(int parameter_number, mixed parameter [, int type])
|
/* {{{ proto bool SQLite3Stmt::bindParam(int parameter_number, mixed parameter [, int type])
|
||||||
Bind Paramater to a stmt variable. */
|
Bind Parameter to a stmt variable. */
|
||||||
PHP_METHOD(sqlite3stmt, bindParam)
|
PHP_METHOD(sqlite3stmt, bindParam)
|
||||||
{
|
{
|
||||||
php_sqlite3_stmt *stmt_obj;
|
php_sqlite3_stmt *stmt_obj;
|
||||||
|
|
|
@ -474,7 +474,7 @@ static void php_stream_bucket_attach(int append, INTERNAL_FUNCTION_PARAMETERS)
|
||||||
} else {
|
} else {
|
||||||
php_stream_bucket_prepend(brigade, bucket TSRMLS_CC);
|
php_stream_bucket_prepend(brigade, bucket TSRMLS_CC);
|
||||||
}
|
}
|
||||||
/* This is a hack necessary to accomodate situations where bucket is appended to the stream
|
/* This is a hack necessary to accommodate situations where bucket is appended to the stream
|
||||||
* multiple times. See bug35916.phpt for reference.
|
* multiple times. See bug35916.phpt for reference.
|
||||||
*/
|
*/
|
||||||
if (bucket->refcount == 1) {
|
if (bucket->refcount == 1) {
|
||||||
|
|
|
@ -796,7 +796,7 @@ BOOL WINAPI ServerSupportFunction(HCONN hConn, DWORD dwHSERequest,
|
||||||
|
|
||||||
switch(dwHSERequest) {
|
switch(dwHSERequest) {
|
||||||
case (HSE_REQ_SEND_RESPONSE_HEADER) :
|
case (HSE_REQ_SEND_RESPONSE_HEADER) :
|
||||||
lpszRespBuf = (char *)xmalloc(*lpdwSize);//+ 80);//accomodate our header
|
lpszRespBuf = (char *)xmalloc(*lpdwSize);//+ 80);//accommodate our header
|
||||||
if (!lpszRespBuf)
|
if (!lpszRespBuf)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
wsprintf(lpszRespBuf,"%s",
|
wsprintf(lpszRespBuf,"%s",
|
||||||
|
|
|
@ -689,7 +689,7 @@ glob3(pathbuf, pathbuf_last, pathend, pathend_last, pattern, pattern_last,
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extend the gl_pathv member of a glob_t structure to accomodate a new item,
|
* Extend the gl_pathv member of a glob_t structure to accommodate a new item,
|
||||||
* add the new item, and update gl_pathc.
|
* add the new item, and update gl_pathc.
|
||||||
*
|
*
|
||||||
* This assumes the BSD realloc, which only copies the block when its size
|
* This assumes the BSD realloc, which only copies the block when its size
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue