]> git.cworth.org Git - obsolete/notmuch-old/commit
database: Make find_unique_doc_id enforce uniqueness (for a debug build)
authorCarl Worth <cworth@cworth.org>
Mon, 21 Dec 2009 23:11:32 +0000 (15:11 -0800)
committerCarl Worth <cworth@cworth.org>
Mon, 21 Dec 2009 23:11:32 +0000 (15:11 -0800)
commit20adc20137c079a6c8ef5474302eb6b5b0cb83e7
tree1ef993466a0d44a7388a77e16b830f08889c07f7
parent5d5e54a54b267c35d921e0a1852af234e1fc6a02
database: Make find_unique_doc_id enforce uniqueness (for a debug build)

Catching any violation of this unique-ness constraint is very much in
line with similar, existing INTERNAL_ERROR cases.
lib/database.cc