projects
/
platform
/
core
/
multimedia
/
media-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
da544b7
)
reset handle after closing db handle
69/305569/1
accepted/tizen/8.0/unified/20240206.160239
author
samsung2013
<yuzhi.he@samsung.com>
Sun, 4 Feb 2024 06:19:55 +0000
(14:19 +0800)
committer
yuzhi He
<yuzhi.he@samsung.com>
Mon, 5 Feb 2024 06:56:39 +0000
(06:56 +0000)
Change-Id: I356674e83dfc3abf3d2e976f9a944ba29e315044
(cherry picked from commit
ab556be7f03f4d934c112b8d103615c8b181fbcf
)
lib/media-util-db.c
patch
|
blob
|
history
diff --git
a/lib/media-util-db.c
b/lib/media-util-db.c
index
af8728d
..
a8b4e06
100755
(executable)
--- a/
lib/media-util-db.c
+++ b/
lib/media-util-db.c
@@
-360,8
+360,10
@@
void media_db_disconnect(sqlite3 *handle)
{
MSAPI_DBG_FUNC();
- if (handle)
+ if (handle)
{
sqlite3_close_v2(handle);
+ handle = NULL;
+ }
}
int media_db_request_update_db(const char *query_str, uid_t uid)