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>
Wed, 6 Jan 2010 18:32:06 +0000 (10:32 -0800)
commitd7e5f5827e21be7dd8993e5a877bdb73cdb64325
treeef22b14cdc9b80994fd7cd909e4c3d22ed8c15b3
parent498edff50373785c9dcc889d0fb6bc9bfc13dfcb
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