Please sign in to comment.
MB-7631 Interpret bp of 0 as empty body
By convention, in Couchstore/.couch files a body pointer of zero indicates that the item has no body/has an empty body. This commit makes CouchDB also have this behavior (otherwise, it will attempt to read data from position 0 in the file when encountering a deleted item) Change-Id: If4229b68a2b6fc79484535619b7acfbc5055ca0e Reviewed-on: http://review.couchbase.org/24586 Reviewed-by: Junyi Xie <firstname.lastname@example.org> Reviewed-by: Filipe David Borba Manana <email@example.com> Reviewed-by: Jin Lim <firstname.lastname@example.org> Tested-by: Aaron Miller <email@example.com> Tested-by: Filipe David Borba Manana <firstname.lastname@example.org> Reviewed-on: http://review.couchbase.org/24596 Reviewed-by: Aaron Miller <email@example.com>
- Loading branch information...