-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. For my Python wrapper (APSW) I even provide a tool where it will show all SQL executed (including bindings), results returned, timings, statistical information etc. Your own code doesn't even have to be touched or modified in any way: http://apsw.googlecode.com/svn/publish/execution.html#apsw-trace Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkq0QMQACgkQmOOfHg372QQ50QCgyxF4NNwxrtFpVtSs6qnsXJIL 2Z8An2l/nw7I39LIMjHMgQ6rfzmAvPVY =t8XG -----END PGP SIGNATURE----- _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users