On Sat, Sep 19, 2009 at 3:24 AM, Roger Binns <rog...@rogerbinns.com> wrote:
>
> Hamish Allan wrote:
>> Not sure whether this would need a rewrite, but for debug purposes I'd
>> love to be able to view the SQL for a prepared statement with its
>> values bound.
>
> I am always confused by requests like this.  Your code called prepare and
> your code called the various bind methods.  Consequently your code can store
> that information with as much detail and context as is useful to you.

Like I say, it's for debug purposes. Sometimes my code doesn't behave
as I would expect it to; perhaps there's something wrong with my
string escaping, or perhaps my query is awry, and I would like to see
if it works from the command line. I should note that I am a relative
beginner using the C interface, which is perhaps not the most
forgiving combination.

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

Reply via email to