Add some convenience to capture SQL statements and save the in an in-memory log
Bug #879252 reported by
Free Ekanayaka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Storm |
Fix Released
|
Medium
|
Free Ekanayaka |
Bug Description
It would be nice to be able to do something like:
from storm.tracer import capture
with capture() as log:
# Run queries
print log.queries() # Print the queries that have been run
Related branches
lp:~free.ekanayaka/storm/catpure-tracer
- Gavin Panella: Approve
- Jamu Kakar (community): Approve
-
Diff: 428 lines (+189/-30)3 files modifiedNEWS (+10/-0)
storm/tracer.py (+51/-5)
tests/tracer.py (+128/-25)
Changed in storm: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Free Ekanayaka (free.ekanayaka) |
milestone: | none → 0.20 |
Changed in storm: | |
status: | In Progress → Fix Committed |
Changed in storm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.