diff options
Diffstat (limited to 'sql')
-rw-r--r-- | sql/ha_innobase.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/ha_innobase.cc b/sql/ha_innobase.cc index ed96b81740c..9c732b9c715 100644 --- a/sql/ha_innobase.cc +++ b/sql/ha_innobase.cc @@ -276,9 +276,9 @@ innobase_mysql_print_thd( thd = (THD*) input_thd; /* We can't use value of sprintf() as this is not portable */ - buf=my_sprintf(buf, - (buf, "MySQL thread id %lu, query id %lu", - thd->thread_id, thd->query_id)); + buf+= my_sprintf(buf, + (buf, "MySQL thread id %lu, query id %lu", + thd->thread_id, thd->query_id)); if (thd->host) { *buf++=' '; |