diff options
author | unknown <monty@mashka.mysql.fi> | 2002-07-29 09:40:04 +0300 |
---|---|---|
committer | unknown <monty@mashka.mysql.fi> | 2002-07-29 09:40:04 +0300 |
commit | 7ad970a01bae9ba3b10e38b23a0bfc8c245f1c73 (patch) | |
tree | 5d30cd65aac18f3c9d7234c93ba2565b969cad9f /sql | |
parent | ae6d8f89c67df8bfcca948e26561759d8c31341a (diff) | |
download | mariadb-git-7ad970a01bae9ba3b10e38b23a0bfc8c245f1c73.tar.gz |
Fixed wrong usage of return value of sprintf() (From prev change set)
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++=' '; |