Hello all,
 
I'm getting an assert(pCur->isValid) in the following function for some
reason when deleting from the database (v3.2.1). This happens with only
one of the tables - the rest are fine (it seems?). There are triggers on
this table, but there're triggers on some other tables as well and they
seem to work fine. Could you please tell me why pCur->isValid could be
0?
 
int sqlite3BtreeData(BtCursor *pCur, u32 offset, u32 amt, void *pBuf){
  assert( pCur->isValid );
  assert( pCur->pPage!=0 );
  assert( pCur->idx>=0 && pCur->idx<pCur->pPage->nCell );
  return getPayload(pCur, offset, amt, pBuf, 1);
}

 
Thank you,
 
   Dennis

Reply via email to