projects
/
platform
/
core
/
appfw
/
pkgmgr-info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf7b511
)
Fix to properly bind the parameter in writing query
35/256635/2
author
Ilho Kim
<ilho159.kim@samsung.com>
Thu, 8 Apr 2021 08:14:15 +0000
(17:14 +0900)
committer
Ilho Kim
<ilho159.kim@samsung.com>
Thu, 8 Apr 2021 08:17:00 +0000
(17:17 +0900)
Change-Id: I6aa0174845ee4d4a6745a5a897abacee30a9f3ca
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/pkginfo_internal.c
patch
|
blob
|
history
diff --git
a/src/pkginfo_internal.c
b/src/pkginfo_internal.c
index
4668b4e
..
8dacecc
100644
(file)
--- a/
src/pkginfo_internal.c
+++ b/
src/pkginfo_internal.c
@@
-820,7
+820,6
@@
API int execute_write_queries(sqlite3 *db, GList *queries, GList *params_list)
{
int i;
int j;
- GList *list = NULL;
query_args *tmp_ptr = NULL;
__BEGIN_TRANSACTION(db);
for (i = 0; i < g_list_length(queries); ++i) {
@@
-832,8
+831,8
@@
API int execute_write_queries(sqlite3 *db, GList *queries, GList *params_list)
}
__DO_TRANSACTION(db,
- __execute_query(db,
-
g_list_nth_data(queries, i), lis
t));
+ __execute_query(db,
g_list_nth_data(queries, i),
+
tmp_ptr->argumen
t));
}
__END_TRANSACTION(db);