From 071bf46573032ec448d0acab925bb7c8246a9f6c Mon Sep 17 00:00:00 2001 From: Yurun Date: Thu, 29 Jun 2023 20:13:55 +0800 Subject: [PATCH] Fix incorrect function/method names in DBG_ENTER() (#11554) --- ext/mysqlnd/mysqlnd_ext_plugin.c | 4 ++-- ext/mysqlnd/mysqlnd_ps.c | 4 ++-- ext/mysqlnd/mysqlnd_result_meta.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ext/mysqlnd/mysqlnd_ext_plugin.c b/ext/mysqlnd/mysqlnd_ext_plugin.c index 232bbad1dd6..2ca01d113e3 100644 --- a/ext/mysqlnd/mysqlnd_ext_plugin.c +++ b/ext/mysqlnd/mysqlnd_ext_plugin.c @@ -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; diff --git a/ext/mysqlnd/mysqlnd_ps.c b/ext/mysqlnd/mysqlnd_ps.c index 1be10a0f20f..dad5de3bb90 100644 --- a/ext/mysqlnd/mysqlnd_ps.c +++ b/ext/mysqlnd/mysqlnd_ps.c @@ -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); } diff --git a/ext/mysqlnd/mysqlnd_result_meta.c b/ext/mysqlnd/mysqlnd_result_meta.c index 35a84907f5f..92896ccb408 100644 --- a/ext/mysqlnd/mysqlnd_result_meta.c +++ b/ext/mysqlnd/mysqlnd_result_meta.c @@ -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);