On 04/15/2014 07:05 PM, Dicebot wrote: > Some quick observations: > > 1) toStringz(insertStmt) -> as inserStmt is actually a string literal, > no need to use toStringz, literals are alway null-terminated. did not know that. Thanks > > 2) in block immediately after `throw` has extra level of indentation will check > > 3) excessive sqlite3_finalize(stmt), one from first scope(exit) should > have been enough will check > > Will read actual article a bit later :P
- sqlite-statement CTFE Generation (U... Robert Schadek
- Re: sqlite-statement CTFE Gene... John Carter
- Re: sqlite-statement CTFE Gene... justme
- Re: sqlite-statement CTFE ... Robert Schadek
- Re: sqlite-statement C... John Carter
- Re: sqlite-statement CTFE Gene... Dejan Lekic via Digitalmars-d-announce
- Re: sqlite-statement CTFE Gene... Dicebot
- Re: sqlite-statement CTFE ... Robert Schadek
- Re: sqlite-statement CTFE Gene... Ali Çehreli
- Re: sqlite-statement CTFE ... Robert BuRnEr Schadek