aboutsummaryrefslogtreecommitdiffstats
path: root/src/list.c
diff options
context:
space:
mode:
authorAnastasis Grammenos <anastasis.gramm2@gmail.com>2019-03-14 20:15:52 +0200
committerAnastasis Grammenos <anastasis.gramm2@gmail.com>2019-03-14 20:15:52 +0200
commitf30142e0cbe7ff6dc4339682f66da72cb5fd9428 (patch)
tree8978a0393cf8fa053b69da1f806d13b27e5199a5 /src/list.c
parent387b31f293347a8bc05dbd4c5f2d063a7b8bdba9 (diff)
downloadck-f30142e0cbe7ff6dc4339682f66da72cb5fd9428.tar.gz
ck-f30142e0cbe7ff6dc4339682f66da72cb5fd9428.tar.bz2
ck-f30142e0cbe7ff6dc4339682f66da72cb5fd9428.zip
Replace form_query with fq
Diffstat (limited to 'src/list.c')
-rw-r--r--src/list.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/list.c b/src/list.c
index 1fd0326..b7f5a6e 100644
--- a/src/list.c
+++ b/src/list.c
@@ -90,7 +90,7 @@ int list_get_paths(DB *db, cklist *ckl, int bName, int attr, const char *home) {
int rc;
char sql[STR_M] = "";
- dbh_form_query_select_paths_with_attributes(sql);
+ dbh_fq_select_paths_with_attributes(sql);
rc = sqlite3_prepare_v2(db->ptr, sql, -1, &stmt, 0);
if (rc != SQLITE_OK) {
@@ -130,7 +130,7 @@ int list_get_programs(DB *db, cklist *ckl) {
int rc;
char sql[STR_M] = "";
- dbh_form_query_select_programs(sql);
+ dbh_fq_select_programs(sql);
rc = sqlite3_prepare_v2(db->ptr, sql, -1, &stmt, 0);
if (rc != SQLITE_OK) {
@@ -150,7 +150,7 @@ static int list_get_path_program_tree(DB *db, cklist *ckl, int bName, int attr,
int rc;
char sql[STR_M] = "";
- dbh_form_query_select_programs(sql);
+ dbh_fq_select_programs(sql);
rc = sqlite3_prepare_v2(db->ptr, sql, -1, &stmt, 0);
if (rc != SQLITE_OK) {
@@ -177,7 +177,7 @@ static int list_get_path_program_tree(DB *db, cklist *ckl, int bName, int attr,
strcat(condition, ".");
strcat(condition, COL_PROGRAM_NAME);
- dbh_form_query_select_from_joined_eq(sql2, selection, condition);
+ dbh_fq_select_from_joined_eq(sql2, selection, condition);
rc2 = sqlite3_prepare_v2(db->ptr, sql2, -1, &stmt2, 0);
if (rc2 != SQLITE_OK) {