164
164
This allows syntax like:
166
166
with index.db_commit:
167
cursor = index.db.get_cursor()
167
cursor = index.db.cursor()
168
168
cursor.execute(...)
173
cursor = index.db.get_cursor()
173
cursor = index.db.cursor()
174
174
cursor.execute(...)
176
176
index.db.rollback()