Bug 418804 - "Update storage query processor for XUL templates from changes to mozIStorageService::OpenDatabase" [p=laurent@xulfr.org (Laurent Jouanneau) r=sdwilsh sr=roc a1.9=damons]

This commit is contained in:
reed@reedloden.com 2008-02-22 03:24:45 -08:00
parent 914a61064d
commit ddc1676b1b

View File

@ -277,6 +277,11 @@ nsXULTemplateQueryProcessorStorage::InitializeForBuilding(nsISupports* aDatasour
if (!mStorageConnection)
return NS_ERROR_INVALID_ARG;
PRBool ready;
mStorageConnection->GetConnectionReady(&ready);
if (!ready)
return NS_ERROR_UNEXPECTED;
return NS_OK;
}