aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbhelper.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-10-03 16:57:06 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-10-03 16:57:06 +0300
commitbc2899dd69fce0f1868dbfad3394ef8b3dc48069 (patch)
treed6237ac42ea12a34ceb08117685c3fcbe5136d59 /src/dbhelper.c
parent1cfbedd0b199d77ed53e5224435a76978875e2fb (diff)
downloadck-bc2899dd69fce0f1868dbfad3394ef8b3dc48069.tar.gz
ck-bc2899dd69fce0f1868dbfad3394ef8b3dc48069.tar.bz2
ck-bc2899dd69fce0f1868dbfad3394ef8b3dc48069.zip
Basic delete
Diffstat (limited to 'src/dbhelper.c')
-rw-r--r--src/dbhelper.c2
1 files changed, 1 insertions, 1 deletions
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 ");