Add return value handle logic about db operation 92/100792/1 accepted/tizen/3.0/common/20161130.065213 accepted/tizen/3.0/ivi/20161130.012430 accepted/tizen/3.0/mobile/20161130.012332 accepted/tizen/3.0/tv/20161130.012350 accepted/tizen/3.0/wearable/20161130.012410 submit/tizen_3.0/20161129.083306 submit/tizen_3.0/20161129.084647
authorsangwan.kwon <sangwan.kwon@samsung.com>
Tue, 29 Nov 2016 07:12:43 +0000 (16:12 +0900)
committersangwan.kwon <sangwan.kwon@samsung.com>
Tue, 29 Nov 2016 08:18:05 +0000 (17:18 +0900)
commit088c62f5001bac6e142cfdd1eeaa9555fbb045e6
treea877a86a1ebae0a1f573d1c52912c5113a3e4603
parent4f1930544e22b1e33ca55761278501b425e22fe1
Add return value handle logic about db operation

* sqlite3_step()'s return value will be either
* SQLITE_BUSY, SQLITE_DONE, SQLITE_ROW ...

[ AS-IS ]
* Only handle SQLITE_DONE and SQLITE_ROW.
[ TO-BE ]
* Handle whole possible return value.

ref) https://www.sqlite.org/capi3ref.html#sqlite3_step

Change-Id: Ibe333545a8ca94428bce474c60e2ef7f4fe5a910
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
(cherry picked from commit 69bc9bdeaec09f8d9b1c6197708ecb1f9110656e)
src/server/src/cert-server-logic.c