fix major bug causing spiders not to work.

This commit is contained in:
Matt Wells
2013-09-04 11:01:24 -07:00
parent 91c4e768b1
commit c58df10155

@ -2128,7 +2128,7 @@ bool Rdb::addRecord ( collnum_t collnum,
}
else if ( (tn=m_tree.addNode ( collnum, key , data , dataSize ))>=0) {
// if adding to spiderdb, add to cache, too
if ( m_rdbId != RDB_SPIDERDB || m_rdbId != RDB_DOLEDB )
if ( m_rdbId != RDB_SPIDERDB && m_rdbId != RDB_DOLEDB )
return true;
// or if negative key
if ( KEYNEG(key) ) return true;