From 84c161c278e8d30fb9fb706006461d8c84ba5864 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 12 Jul 2023 22:51:37 +0200 Subject: mod_storage_sql: Remove completed TODO (testing UPSERT on PostgreSQL) --- plugins/mod_storage_sql.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua index f348b1aa..a40b0d8e 100644 --- a/plugins/mod_storage_sql.lua +++ b/plugins/mod_storage_sql.lua @@ -217,7 +217,6 @@ function map_store:set_keys(username, keydatas) LIMIT 1; ]]; for key, data in pairs(keydatas) do - -- TODO Test UPSERT in PostgreSQL before enabling it. if type(key) == "string" and key ~= "" and engine.params.driver ~= "MySQL" and data ~= self.remove then local t, value = assert(serialize(data)); engine:insert(upsert_sql, host, username or "", self.store, key, t, value, t, value); -- cgit v1.2.3