Bug 336230 r+a=vlad Bug in ASYNC_SYNC

This commit is contained in:
brettw%gmail.com 2006-05-19 16:25:40 +00:00
parent def6b68f8b
commit fb620b8cec

View File

@ -1308,8 +1308,7 @@ ProcessOneMessage(AsyncMessage* aMessage)
case ASYNC_SYNC:
NS_ASSERTION(pBase, "Must have base writer for writing");
NS_ASSERTION(sqliteOrigTruncate, "No seek pointer");
rc = sqliteOrigSeek(pBase, aMessage->mOffset);
rc = sqliteOrigSync(pBase, aMessage->mBytes);
break;
case ASYNC_TRUNCATE: