- 30 Mar, 2001 20 commits
-
-
Barry Warsaw authored
same set of tests that Minimal also passes). Not yet tested: versions, undo, packing, garbage collection. InternalInconsistencyError: the base class should be AssertionError. Fix typo in name of table that keeps the pickle reference counts (it should be _pickleRefcounts). next_object() => next() Use referencef() in a completely backwards compatible way (I happen to have an older version of ZODB installed). load(): Fix typo in name of table that stores the pickle data (it should be _pickles). store(): Use a local variable called `zero' for the 8-byte zero pointer. When there is no current serial number for the object (i.e. it is being stored for the first time), initialize oserial to zero (but not orevid). Better printing of the ConflictError message. When there is no version string (i.e. this is being stored in a non-version), initialize nvrevid to zero. Better printing of the VersionLockError. Fix typo in return value; we should return the cached serial number, not the serial number that was passed in as an argument.
-
Barry Warsaw authored
FullNewInsertsTest: new class which mirrors MinimalNewInsertsTest and performs the same set of tests on the Full database. Also add some better docstrings. Added __main__ section so this test can be run standalone.
-
Barry Warsaw authored
MinimalBaseFramework.setUp(): Wrap the creation and opening of the database in a try/except so that we guarantee that tearDown() is called if there are any errors in database creation. tearDown(): Added this to make sure that the test directories are removed when the test is done. FullBaseFramework: New class to mirror the same tests for the Full database. Based on MinimalBaseFramework. This could use some factorization. DBHomeTest => MinimalDBHomeTest FullDBHomeTest: New class to mirror the same tests for the Full database. Based on MinimalDBHomeTest. This could use some factorization. Added __main__ section so this test can be run standalone.
-
Barry Warsaw authored
Added tests which flex the complete FullLog API. Added __main__ section so this test can be run standalone.
-
Barry Warsaw authored
-
Guido van Rossum authored
insertStructure.
-
Jeremy Hylton authored
free variable HAVE_ARGUMENT that was not defined at the global scope. Calling it would have raised a NameError.
-
Evan Simpson authored
-
Evan Simpson authored
-
rbmead authored
random id for IOBtreeFolders
-
Barry Warsaw authored
Woo boy, lots 'o changes. This represents my current cut at the updated implementation of full Berkeley storage. It is as yet untested, it is being checked in mainly to sync and checkpoint to CVS.
-
Barry Warsaw authored
Minimal storage and the Full storage.
-
Barry Warsaw authored
_closelog(): Moved to BerkeleyBase base class.
-
Barry Warsaw authored
{PacklessLog,FullLog}.next_object() => next()
-
Barry Warsaw authored
__init__(): FullLog must now maintain a list of created versions so that the Berkeley storage can query it when it's got a version string it doesn't know about. Otherwise, we'll just create multiple create-version entries in the log. finish(): clear the __versions dict. get_vid(): Look up a version string, returning the associated vid, or None (by default). write_object(), write_nonversion_object(), write_moved_object, write_new_version, write_discard_version(): Higher level interface to adding new commit log entries. There's really only three record types, but it helps to have the higher level API. next_object(): Get the next entry in the commit log, but assert that the key is one of `o', `v', or `d'. Also, fix a typo and get rid of the old store() and storeNV() methods.
-
- 29 Mar, 2001 8 commits
-
-
Amos Latteier authored
-
Evan Simpson authored
-
Evan Simpson authored
-
Evan Simpson authored
-
Evan Simpson authored
-
Evan Simpson authored
-
Guido van Rossum authored
-
Guido van Rossum authored
epilogue and initial and final events. (This is not used anywhere but I thought it was neat, and it matches what I did in test_htmltalparser.py.)
-
- 28 Mar, 2001 6 commits
-
-
Guido van Rossum authored
-
Jim Fulton authored
spurious log entry about unindexing a non-existent object.
-
Jim Fulton authored
which generated spurious log entry about unindexing a non-existent object.
-
Jeremy Hylton authored
- make function decls prototypes - remove unreferenced functions
-
Jeremy Hylton authored
XXX should remove Xaq eventually
-
Jim Fulton authored
-
- 27 Mar, 2001 6 commits
-
-
Ken Manheimer authored
-
Chris McDonough authored
-
Jim Fulton authored
-
Chris McDonough authored
-
Jeremy Hylton authored
-
Barry Warsaw authored
-