From 5a42d7f37d7e61f8592607694994e32c968b1e42 Mon Sep 17 00:00:00 2001 From: Duyoung Jang Date: Mon, 29 Apr 2013 13:46:38 +0900 Subject: [PATCH] Fix Jira issue for db retry mechanism Change-Id: I9b207afa550cae73202c582f9c35ed047785a355 Signed-off-by: Duyoung Jang --- src/app/package/FAppPkg_PackageAppInfoImpl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/package/FAppPkg_PackageAppInfoImpl.cpp b/src/app/package/FAppPkg_PackageAppInfoImpl.cpp index 47799d1..5f3730a 100755 --- a/src/app/package/FAppPkg_PackageAppInfoImpl.cpp +++ b/src/app/package/FAppPkg_PackageAppInfoImpl.cpp @@ -969,11 +969,11 @@ _PackageAppInfoImpl::GetUniqueId(void) const r = db.Construct(PACKAGE_DATABASE_FILE_NAME, "r"); SysTryCatch(NID_APP, r == E_SUCCESS, , r, "[%s] An error occurs while opening a database.", GetErrorMessage(r)); - pStmt = db.CreateStatementN(query); + pStmt = _PackageManagerImpl::CreateStatementN(db, query); SysTryCatch(NID_APP, pStmt != null, GetLastResult(), GetLastResult(), "[%s] An error occurs while creating a database statement.", GetErrorMessage(GetLastResult())); - pEnum = db.ExecuteStatementN(*pStmt); + pEnum = _PackageManagerImpl::ExecuteStatementN(db, pStmt); if (pEnum != null) { if (pEnum->MoveNext() == E_SUCCESS) -- 2.7.4