diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2009-12-02 16:26:09 +0200 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2009-12-02 16:26:09 +0200 |
commit | 33402060c0523f2f8c92a87684ef25bb4bb8e665 (patch) | |
tree | 826abbd3abfb4ee260ef0b265d4475556fb97934 /sql/item.h | |
parent | e4e1ae0d13da399d53bd91df791b149f3eae796b (diff) | |
download | mariadb-git-33402060c0523f2f8c92a87684ef25bb4bb8e665.tar.gz |
Remove compiler warning: always use literal string for printf-format line.
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item.h b/sql/item.h index 82fb3f3a3e0..640b0cc5375 100644 --- a/sql/item.h +++ b/sql/item.h @@ -25,7 +25,7 @@ bool trace_unsupported_func(const char *where, const char *processor_name) sprintf(buff, "%s::%s", where, processor_name); DBUG_ENTER(buff); sprintf(buff, "%s returns TRUE: unsupported function", processor_name); - DBUG_PRINT("info", (buff)); + DBUG_PRINT("info", ("%s", buff)); DBUG_RETURN(TRUE); } |