Ooops. Managed to remove the id deletion.

This commit is contained in:
Olof Larsson 2014-03-28 16:03:31 +01:00
parent fa69405239
commit 1ced407e20

View File

@ -142,6 +142,7 @@ public class DriverMongo extends DriverAbstract
BasicDBObject raw = (BasicDBObject)dbcoll.findOne(new BasicDBObject(ID_FIELD, id));
if (raw == null) return null;
raw.removeField(ID_FIELD);
Long mtime = 0L;
Object mtimeObject = raw.removeField(MTIME_FIELD);
if (mtimeObject != null)