On Fri, Oct 28, 2011 at 10:07 AM, Christian <siriu...@gmx.de> wrote: > static char command [1024]; > ... > sprintf (command, "SELECT * from model where id=?"); >
FYI: that can be simplified to: static char const * command = "SELECT * from model where id=?"; There's no reason why the overhead of sprintf() should be applied to a string which contains no formatting specifiers. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users