From bc2899dd69fce0f1868dbfad3394ef8b3dc48069 Mon Sep 17 00:00:00 2001 From: gramanas Date: Wed, 3 Oct 2018 16:57:06 +0300 Subject: Basic delete --- src/dbhelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dbhelper.c') diff --git a/src/dbhelper.c b/src/dbhelper.c index 8e4d9ad..9de780e 100644 --- a/src/dbhelper.c +++ b/src/dbhelper.c @@ -204,7 +204,7 @@ void dbh_form_query_delete_x_from_y(char *query, const char *x, const char *y) { strcpy(query, tmp); } -void dbh_from_query_count_program_relations(char *query) { +void dbh_form_query_count_program_relations(char *query) { char tmp[STR_M] = "SELECT COUNT(*) FROM "; strcat(tmp, TBL_REL); strcat(tmp, " WHERE "); -- cgit v1.2.3