From f30142e0cbe7ff6dc4339682f66da72cb5fd9428 Mon Sep 17 00:00:00 2001 From: Anastasis Grammenos Date: Thu, 14 Mar 2019 20:15:52 +0200 Subject: Replace form_query with fq --- src/list.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/list.c') 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) { -- cgit v1.2.3