NS_RELEASE(mCurrent);
mCurrent->CutStrongRef(mEnv);
nsMdbTableEnumerator::HasMoreElements(PRBool* _result){  if (! mCurrent) {    mdb_err err;    while (1) {      mdb_pos pos;      err = mCursor->NextRow(mEnv, &mCurrent, &pos);      if (err != 0) return NS_ERROR_FAILURE;      // If there are no more rows, then bail.      if (! mCurrent)        break;      // If this is a result, the stop.      if (IsResult(mCurrent))        break;      // Otherwise, drop the ref to the row we retrieved, and continue      // on to the next one.      NS_RELEASE(mCurrent);      mCurrent = nsnull;    }  }  *_result = (mCurrent != nsnull);  return NS_OK;}