def close(self):
        self.flush()
        self.acquire()
        try:
            self.target = None
            BufferingHandler.close(self)
        finally:
            self.release()
Prepares table for partitioning by reconstructing table's primary key.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/logging/handlers.py/MemoryHandler.close--crossover with--dataset/ETHPy150Open maxtepkeev/architect/architect/databases/mysql/partition.py/Partition.prepare