Skip to content

Commit

Permalink
DROP instead of TRUNCATE deduplication_info table (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
aalexfvk authored Oct 10, 2024
1 parent 4dafa6b commit 773ad4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch_backup/clickhouse/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ def create_deduplication_table(self):
)
)
self._ch_client.query(
TRUNCATE_TABLE_IF_EXISTS_SQL.format(
DROP_TABLE_IF_EXISTS_SQL.format(
db_name=escape(self._backup_config["system_database"]),
table_name="_deduplication_info",
)
Expand Down

0 comments on commit 773ad4e

Please sign in to comment.