Message132275
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. |
|
Date |
User |
Action |
Args |
2011-03-26 22:09:21 | torsten | set | recipients:
+ torsten |
2011-03-26 22:09:21 | torsten | set | messageid: <1301177361.02.0.994780961602.issue11688@psf.upfronthosting.co.za> |
2011-03-26 22:09:20 | torsten | link | issue11688 messages |
2011-03-26 22:09:20 | torsten | create | |
|