From 8fe62528b7591a520db07e3fb7701d6274903ae6 Mon Sep 17 00:00:00 2001 From: Bruce Allen Date: Tue, 7 Dec 2004 23:54:07 +0000 Subject: [PATCH] Typo killed feeder with bad MySQL syntax. David, please check. svn path=/trunk/boinc/; revision=4784 --- checkin_notes | 2 ++ sched/feeder.C | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index ec2a4901aa..d15ef06993 100755 --- a/checkin_notes +++ b/checkin_notes @@ -20847,9 +20847,11 @@ Bruce 7 Dec 2004 compression options are 'efficient' in that they do not write an uncompressed file then compress -- they go straight to compressed. SIGHUP and lockfile shutdown signals are properly caught and close compressed files and DB cleanly. + - Typo killed feeder with bad MySQL syntax sched/ db_purge.C + feeder.C Rom 7 Dec 2004 - Checkin changes suggested by Bruce Allen and Bernd Machenschalk related to diff --git a/sched/feeder.C b/sched/feeder.C index d8d47394f5..b016ab2193 100644 --- a/sched/feeder.C +++ b/sched/feeder.C @@ -375,9 +375,9 @@ int main(int argc, char** argv) { } else if (!strcmp(argv[i], "-d")) { log_messages.set_debug_level(atoi(argv[++i])); } else if (!strcmp(argv[i], "-random_order")) { - order_clause = "order by random"; + order_clause = "order by random "; } else if (!strcmp(argv[i], "-priority_order")) { - order_clause = "order by priority desc"; + order_clause = "order by priority desc "; } }