Revision 2171
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
275 | 275 |
return _query_lookup(query, params) in self.query_results |
276 | 276 |
|
277 | 277 |
def with_savepoint(self, func): |
278 |
savepoint = 'savepoint_'+str(self._savepoint)
|
|
278 |
savepoint = 'level_'+str(self._savepoint)
|
|
279 | 279 |
self.run_query('SAVEPOINT '+savepoint) |
280 | 280 |
self._savepoint += 1 |
281 | 281 |
try: |
Also available in: Unified diff
sql.py: with_savepoint(): Renamed savepoints to have "level" prefix, since the # indicates the level #