aboutsummaryrefslogtreecommitdiff
path: root/common/partition_offset_table.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/partition_offset_table.go')
-rw-r--r--common/partition_offset_table.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/partition_offset_table.go b/common/partition_offset_table.go
index bb23755c..bf37e2ed 100644
--- a/common/partition_offset_table.go
+++ b/common/partition_offset_table.go
@@ -50,7 +50,6 @@ type PartitionOffsetStatements struct {
// Prepare converts the raw SQL statements into prepared statements.
// Takes a prefix to prepend to the table name used to store the partition offsets.
// This allows multiple components to share the same database schema.
-// nolint: safesql
func (s *PartitionOffsetStatements) Prepare(db *sql.DB, prefix string) (err error) {
_, err = db.Exec(strings.Replace(partitionOffsetsSchema, "${prefix}", prefix, -1))
if err != nil {