Commit 1d6c06af authored by monty@mashka.mysql.fi's avatar monty@mashka.mysql.fi

Fixed wrong usage of return value of sprintf() (From prev change set)

parent 572891bf
......@@ -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++=' ';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment