Commit 90ba7732 authored by Leigh Stoller's avatar Leigh Stoller

Minor tweak for mysql 5.0; backtick escape the table names to avoid

reserved name clashes.
parent 4a41f0ad
......@@ -279,7 +279,7 @@ def do_gc(args):
if len(ips) > 0:
for tab in GC_TABLES:
cur.execute("DELETE FROM " + tab + " where node_ip in "
cur.execute("DELETE FROM `" + tab + "` where node_ip in "
"(" + ",".join(("%s",) * len(ips)) + ")", ips)
pass
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment