summaryrefslogtreecommitdiff
path: root/sql/sql_prepare.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_prepare.cc')
-rw-r--r--sql/sql_prepare.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc
index b579474ee4d..778d8ba6708 100644
--- a/sql/sql_prepare.cc
+++ b/sql/sql_prepare.cc
@@ -2814,7 +2814,7 @@ void mysqld_stmt_reset(THD *thd, char *packet)
stmt->state= Query_arena::STMT_PREPARED;
- general_log_print(thd, thd->command, NullS);
+ general_log_print(thd, thd->get_command(), NullS);
my_ok(thd);
@@ -2847,7 +2847,7 @@ void mysqld_stmt_close(THD *thd, char *packet)
*/
DBUG_ASSERT(! stmt->is_in_use());
stmt->deallocate();
- general_log_print(thd, thd->command, NullS);
+ general_log_print(thd, thd->get_command(), NullS);
DBUG_VOID_RETURN;
}
@@ -2962,7 +2962,7 @@ void mysql_stmt_get_longdata(THD *thd, char *packet, ulong packet_length)
thd->stmt_da= save_stmt_da;
thd->warning_info= save_warinig_info;
- general_log_print(thd, thd->command, NullS);
+ general_log_print(thd, thd->get_command(), NullS);
DBUG_VOID_RETURN;
}