mod_storage_sql: Remove completed TODO (testing UPSERT on PostgreSQL)
authorKim Alvefur <zash@zash.se>
Wed, 12 Jul 2023 22:51:37 +0200
changeset 13194 9dc6de46dae3
parent 13193 36b7bdafc993
child 13195 1266efb7101c
mod_storage_sql: Remove completed TODO (testing UPSERT on PostgreSQL)
plugins/mod_storage_sql.lua
--- a/plugins/mod_storage_sql.lua	Wed Jul 12 22:50:24 2023 +0200
+++ b/plugins/mod_storage_sql.lua	Wed Jul 12 22:51:37 2023 +0200
@@ -217,7 +217,6 @@
 		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);