tzaeschke / zoodb

ZooDB Object Database
Apache License 2.0
57 stars 9 forks source link

Detached object should not get a new OID when reattached #112

Closed tzaeschke closed 6 years ago

tzaeschke commented 6 years ago

Detaching and reattaching objects works fine except that reattached objects get a new OID instead of keeping their old one. Also, they should not be PERSISTENT_NEW, but PERSISTENT_CLEAN or PERSISTENT_DIRTY.