Commit 2f1e2a07 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix prototype of dropPartition()

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2099 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent abccd411
...@@ -216,7 +216,7 @@ class DatabaseManager(object): ...@@ -216,7 +216,7 @@ class DatabaseManager(object):
thrown away.""" thrown away."""
raise NotImplementedError raise NotImplementedError
def dropPartition(self, offset): def dropForeignPartitions(self, num_partitions, offset):
""" Drop objects and transactions assigned to a partition table, """ Drop objects and transactions assigned to a partition table,
this should be called only during storage initialization, to clear this should be called only during storage initialization, to clear
existing data that could be stored by a previous cluster life """ existing data that could be stored by a previous cluster life """
......
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