Fixed crash issue when abort DB insert
authorJihoon Chung <jihoon.chung@samsung.com>
Wed, 8 May 2013 12:06:59 +0000 (21:06 +0900)
committerJihoon Chung <jihoon.chung@samsung.com>
Wed, 8 May 2013 12:10:33 +0000 (21:10 +0900)
commit2513ed87e074fc71ab8e51c17d1ebc37dc0d1e2e
treef77ed00433ad0bae15e8c06d7b5e22e31b41d6b7
parentcf304728d2c524689f06a1c7f31c82cde66e28c4
Fixed crash issue when abort DB insert

[Issue#] N/A
[Problem] Crash is occurred when abort DB insert data
[Cause] Missing checking whether update mode or normal install mode.
That is caused that create widgetDAO which isn't exist in the database
[Solution] Add condition to check update mode.
[SCMRequest] N/A

Change-Id: I680f72a5ff21053b031af7d61a002b5834739ff4
src/jobs/widget_install/task_database.cpp