Permalink
Browse files

fix assert

  • Loading branch information...
erh committed Aug 18, 2011
1 parent d443568 commit c520e0be0b9b49a4926d2aceba16350969315946
Showing with 3 additions and 1 deletion.
  1. +3 −1 db/index.h
View
@@ -147,7 +147,9 @@ namespace mongo {
void checkVersion() const {
// TODO: cache?
massert( 13658 , str::stream() << "using a newer index version: " << info.obj() , info.obj().getIntField("v") == 0 );
massert( 13658 ,
str::stream() << "using a newer index version: " << info.obj() << " v: " << info.obj().getIntField("v" ) ,
info.obj().getIntField("v") <= 0 );
}
string toString() const {

0 comments on commit c520e0b

Please sign in to comment.