From 5c2ec12061f01bbdce970f665d968570ae1275f8 Mon Sep 17 00:00:00 2001 From: SJ Date: Mon, 26 Mar 2012 14:59:01 +0200 Subject: [PATCH] fixed minor typo in pilerpurge.c --- src/pilerpurge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pilerpurge.c b/src/pilerpurge.c index d0ef9028..41e2f4b4 100644 --- a/src/pilerpurge.c +++ b/src/pilerpurge.c @@ -22,7 +22,7 @@ extern int optind; int dryrun = 0; #define SQL_STMT_DELETE_FROM_META_TABLE "UPDATE `" SQL_METADATA_TABLE "` SET `deleted`=1 WHERE `id` IN (" -#define SQL_STMT_DELETE_FROM_META_TABLE_BY_PILER_ID "UPDATE `" SQL_METADATA_TABLE "` SET `deleted`=1 WHERE `piler_id` IN (" +#define SQL_STMT_DELETE_FROM_META_TABLE_BY_PILER_ID "UPDATE `" SQL_METADATA_TABLE "` SET `deleted`=1 WHERE `piler_id` IN ('" #define SQL_STMT_SELECT_NON_REFERENCED_ATTACHMENTS "SELECT `piler_id`, `attachment_id`, `i` FROM `" SQL_ATTACHMENTS_VIEW "` WHERE `refcount`=0 AND `piler_id` IN ('" #define SQL_STMT_DELETE_FROM_ATTACHMENT_TABLE "DELETE FROM `" SQL_ATTACHMENT_TABLE "` WHERE `id` IN ("