homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author torsten
Recipients torsten
Date 2011年03月26日.22:09:19
SpamBayes Score 9.714247e-07
Marked as misclassified No
Message-id <1301177361.02.0.994780961602.issue11688@psf.upfronthosting.co.za>
In-reply-to
Content
I'd like to access the SQLite trace callback from Python to actually see the same queries that SQLite actually gets to see.
The C API of SQLite supports this via the sqlite3_trace function. I added support to this to the sqlite3 module plus unit tests testing that it is called, can be removed again and that unicode arguments arrive correctly at the callback.
Please consider applying the patch. I am not sure if this should go to the pysqlite project on Google Code directly, I am just submitting it here because I worked in the python source tree as I am more used to its build system. I am sorry, Gerhard, if this is the wrong way.
History
Date User Action Args
2011年03月26日 22:09:21torstensetrecipients: + torsten
2011年03月26日 22:09:21torstensetmessageid: <1301177361.02.0.994780961602.issue11688@psf.upfronthosting.co.za>
2011年03月26日 22:09:20torstenlinkissue11688 messages
2011年03月26日 22:09:20torstencreate

AltStyle によって変換されたページ (->オリジナル) /