Fix drop partition script after testing with multiple older partitions
Change-Id: Iee2cbff126d8551a5428793ba5406aca676f942e
This commit is contained in:
parent
c54d48567f
commit
3db503f0cf
|
@ -53,7 +53,7 @@ def drop_partitions(args):
|
|||
continue
|
||||
for key in keys:
|
||||
print " Dropping '%s' partition for '%s'" % (key, table)
|
||||
vsql(DROP_SQL % (table, drop_key))
|
||||
vsql(DROP_SQL % (table, key))
|
||||
|
||||
|
||||
def vsql(sql):
|
||||
|
|
Loading…
Reference in New Issue