/* Add N to the value of a status record. It is assumed that the caller holds appropriate locks.  */
SQLITE_PRIVATE void sqlite3StatusAdd(int, int)
/* Add N to the value of a status record. It is assumed that the caller holds appropriate locks.  */
SQLITE_PRIVATE void sqlite3StatusAdd(int, int)
{
  wsdStatInit;
  assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
  wsdStat.nowValue[op] += N;
  if( wsdStat.nowValue[op]>wsdStat.mxValue[op] ){
    wsdStat.mxValue[op] = wsdStat.nowValue[op];
  }
}