mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +08:00
function rename to comply with the schema of other callbacks
This commit is contained in:
parent
6e3708cc59
commit
9f7ad10a63
@ -41,7 +41,7 @@ static struct st_mysqlnd_stmt_methods *mysqlnd_stmt_methods;
|
||||
/* Exported by mysqlnd_ps_codec.c */
|
||||
enum_func_status mysqlnd_stmt_execute_generate_request(MYSQLND_STMT * const s, zend_uchar ** request, size_t *request_len, zend_bool * free_buffer TSRMLS_DC);
|
||||
|
||||
enum_func_status mysqlnd_fetch_stmt_row_buffered(MYSQLND_RES *result, void *param,
|
||||
enum_func_status mysqlnd_stmt_fetch_row_buffered(MYSQLND_RES *result, void *param,
|
||||
unsigned int flags,
|
||||
zend_bool *fetched_anything TSRMLS_DC);
|
||||
|
||||
@ -112,7 +112,7 @@ MYSQLND_METHOD(mysqlnd_stmt, store_result)(MYSQLND_STMT * const s TSRMLS_DC)
|
||||
|
||||
result = stmt->result;
|
||||
result->type = MYSQLND_RES_PS_BUF;
|
||||
result->m.fetch_row = mysqlnd_fetch_stmt_row_buffered;
|
||||
result->m.fetch_row = mysqlnd_stmt_fetch_row_buffered;
|
||||
result->m.fetch_lengths = NULL;/* makes no sense */
|
||||
result->m.row_decoder = php_mysqlnd_rowp_read_binary_protocol;
|
||||
|
||||
@ -720,16 +720,16 @@ MYSQLND_METHOD(mysqlnd_stmt, execute)(MYSQLND_STMT * const s TSRMLS_DC)
|
||||
/* }}} */
|
||||
|
||||
|
||||
/* {{{ mysqlnd_fetch_stmt_row_buffered */
|
||||
/* {{{ mysqlnd_stmt_fetch_row_buffered */
|
||||
enum_func_status
|
||||
mysqlnd_fetch_stmt_row_buffered(MYSQLND_RES *result, void *param, unsigned int flags, zend_bool *fetched_anything TSRMLS_DC)
|
||||
mysqlnd_stmt_fetch_row_buffered(MYSQLND_RES *result, void *param, unsigned int flags, zend_bool *fetched_anything TSRMLS_DC)
|
||||
{
|
||||
MYSQLND_STMT * s = (MYSQLND_STMT *) param;
|
||||
MYSQLND_STMT_DATA * stmt = s? s->data:NULL;
|
||||
MYSQLND_RES_BUFFERED *set = result->stored_data;
|
||||
unsigned int field_count = result->meta->field_count;
|
||||
|
||||
DBG_ENTER("mysqlnd_fetch_stmt_row_buffered");
|
||||
DBG_ENTER("mysqlnd_stmt_fetch_row_buffered");
|
||||
*fetched_anything = FALSE;
|
||||
DBG_INF_FMT("stmt=%lu", stmt != NULL ? stmt->stmt_id : 0L);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user