Lines Matching refs:logc
301 logc = self.env.log_cursor()
302 self.assertTrue(msg in (logc.last()[1]))
342 logc = self.env.log_cursor()
343 logc.last() # Skip the commit
344 self.assertTrue(msg in (logc.prev()[1]))
350 logc.last() # Skip the abort
351 self.assertTrue(msg not in (logc.prev()[1]))
357 logc.last() # Skip the commit
358 self.assertTrue(msg in (logc.prev()[1]))
439 logc = self.env.log_cursor()
440 v = logc.first()
446 logc = self.env.log_cursor()
447 lsn_first = logc.first()[0]
448 v = logc.last()
453 logc = self.env.log_cursor()
454 lsn_last = logc.last()[0]
455 self.assertEqual(logc.next(), None)
456 lsn_first = logc.first()[0]
457 v = logc.next()
462 v2 = logc.next()
466 v3 = logc.next()
471 logc = self.env.log_cursor()
472 lsn_first = logc.first()[0]
473 self.assertEqual(logc.prev(), None)
474 lsn_last = logc.last()[0]
475 v = logc.prev()
480 v2 = logc.prev()
484 v3 = logc.prev()
489 logc = self.env.log_cursor()
490 logc.first()
491 v = logc.next()
492 self.assertEqual(v, logc.current())
495 logc = self.env.log_cursor()
496 logc.first()
497 v = logc.next()
498 self.assertNotEqual(v, logc.next())
499 self.assertNotEqual(v, logc.next())
500 self.assertEqual(v, logc.set(v[0]))
503 logc = self.env.log_cursor()
504 logc.close()
505 self.assertRaises(db.DBCursorClosedError, logc.next)
508 logc = [self.env.log_cursor() for i in xrange(10)]
510 for i in logc :