That thing just saved me a bit of grief...

bld/codecheck1 ... bld/db_.c:2685: too few arguments to db_double() - got 2
and expected 3
   arg[0]: 0.0
   arg[1]: "select cast(strftime('%J') as double) n"
bld/db_.c:2701: too few arguments to db_multi_exec() - got 4 and expected 5
   arg[0]: "INSERT INTO aevent(id,when,who,what,where) VALUES("
                "NULL, cast(strftime('%J') AS FLOAT), %Q, %B, %Q"
                ")"
   arg[1]: zUserName
   arg[2]: &what
   arg[3]: g.zPath

(the problem is that i forgot to double-escape the %%J)

VERY nice :).

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-dev mailing list
fossil-dev@lists.fossil-scm.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to