At file:///home/psergey/dev/maria-5.2/ ------------------------------------------------------------ revno: 2733 revision-id: psergey@askmonty.org-20091202142609-18bp41q8mejxl47t parent: igor@askmonty.org-20091112043128-yd6odg8zr5ribjal committer: Sergey Petrunya <psergey@askmonty.org> branch nick: maria-5.2 timestamp: Wed 2009-12-02 16:26:09 +0200 message: Remove compiler warning: always use literal string for printf-format line. === modified file 'sql/item.h' --- a/sql/item.h 2009-11-10 02:32:39 +0000 +++ b/sql/item.h 2009-12-02 14:26:09 +0000 @@ -25,7 +25,7 @@ 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); }