Fix for 149759. Commit the db changes in ConvertLDIFtoMAB(). r=naving, sr=sspitzer.

This commit is contained in:
cavin%netscape.com 2002-07-01 03:01:26 +00:00
parent c0054a7dfa
commit 13010d6e69

View File

@ -1280,8 +1280,10 @@ NS_IMETHODIMP nsAddressBook::ConvertLDIFtoMAB(nsIFileSpec *fileSpec, PRBool migr
rv = abParser.ParseFile();
NS_ENSURE_SUCCESS(rv, rv);
rv = fileSpec->CloseStream();
return rv;
fileSpec->CloseStream();
// Commit the changes.
return(db->Commit(nsAddrDBCommitType::kLargeCommit));
}
#define CSV_DELIM ","