On 09/10/2013 9:53 PM, Richard Hipp wrote:
On Wed, Oct 9, 2013 at 9:49 PM, James K. Lowden <jklow...@schemamania.org>wrote:

It's difficult to do portably because you have to account for every
combination of standard C library and integer size....

Remember that SQLite does not use the standard library printf() function.
It has its own.  (See http://www.sqlite.org/src/artifact/da9119eb?ln=163)
And the SQLite version assumes that %lld means 64-bit integer and %d means
32-bit integer.
Beautiful! Proves yet again that sometimes the best solution is to "cheat" (change the rules).

Ryan

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to