Fix Exec function to determine the cause of failure 47/302947/2
authorIlho Kim <ilho159.kim@samsung.com>
Mon, 18 Dec 2023 03:36:57 +0000 (12:36 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Mon, 18 Dec 2023 04:24:09 +0000 (13:24 +0900)
commit1bb0407739165555142e495682eaeb1d56141270
treeeeb3cda9634728cef9de402ef71f28f8c27f02b9
parentdc78d1d6d0343b7f60f60d1926f9fe1736db1966
Fix Exec function to determine the cause of failure

If the sqlite3_prepare_v2 function fails when execute Exec function
the cause of failure can't get from the Result
Pass the db handle to the Result so that an error message can be
obtained from the db handle

Change-Id: I340e3ee2ccacc6194c33fc215d2e1d09d5163a15
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
tizen-database/database.hpp