Fix incorrect function/method names in DBG_ENTER() (#11554)

This commit is contained in:
Yurun 2023-06-29 20:13:55 +08:00 committed by GitHub
parent ee4ebab5a9
commit 071bf46573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -74,7 +74,7 @@ mysqlnd_plugin__get_plugin_result_data(const MYSQLND_RES * result, const unsigne
static void **
mysqlnd_plugin__get_plugin_result_unbuffered_data(const MYSQLND_RES_UNBUFFERED * result, const unsigned int plugin_id)
{
DBG_ENTER("mysqlnd_plugin__get_plugin_result_data");
DBG_ENTER("mysqlnd_plugin__get_plugin_result_unbuffered_data");
DBG_INF_FMT("plugin_id=%u", plugin_id);
if (!result || plugin_id >= mysqlnd_plugin_count()) {
return NULL;
@ -87,7 +87,7 @@ mysqlnd_plugin__get_plugin_result_unbuffered_data(const MYSQLND_RES_UNBUFFERED *
static void **
mysqlnd_plugin__get_plugin_result_buffered_data(const MYSQLND_RES_BUFFERED * result, const unsigned int plugin_id)
{
DBG_ENTER("mysqlnd_plugin__get_plugin_result_data");
DBG_ENTER("mysqlnd_plugin__get_plugin_result_buffered_data");
DBG_INF_FMT("plugin_id=%u", plugin_id);
if (!result || plugin_id >= mysqlnd_plugin_count()) {
return NULL;

View File

@ -1315,7 +1315,7 @@ MYSQLND_METHOD(mysqlnd_stmt, bind_one_result)(MYSQLND_STMT * const s, unsigned i
MYSQLND_STMT_DATA * stmt = s? s->data : NULL;
MYSQLND_CONN_DATA * conn = stmt? stmt->conn : NULL;
DBG_ENTER("mysqlnd_stmt::bind_result");
DBG_ENTER("mysqlnd_stmt::bind_one_result");
if (!stmt || !conn) {
DBG_RETURN(FAIL);
}
@ -1578,7 +1578,7 @@ MYSQLND_METHOD(mysqlnd_stmt, attr_get)(const MYSQLND_STMT * const s,
void * const value)
{
MYSQLND_STMT_DATA * stmt = s? s->data : NULL;
DBG_ENTER("mysqlnd_stmt::attr_set");
DBG_ENTER("mysqlnd_stmt::attr_get");
if (!stmt) {
DBG_RETURN(FAIL);
}

View File

@ -259,7 +259,7 @@ static MYSQLND_FIELD_OFFSET
MYSQLND_METHOD(mysqlnd_res_meta, field_seek)(MYSQLND_RES_METADATA * const meta, const MYSQLND_FIELD_OFFSET field_offset)
{
MYSQLND_FIELD_OFFSET return_value = 0;
DBG_ENTER("mysqlnd_res_meta::fetch_fields");
DBG_ENTER("mysqlnd_res_meta::field_seek");
return_value = meta->current_field;
meta->current_field = field_offset;
DBG_RETURN(return_value);