aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-07-12 22:51:37 +0200
committerKim Alvefur <zash@zash.se>2023-07-12 22:51:37 +0200
commit84c161c278e8d30fb9fb706006461d8c84ba5864 (patch)
tree2af7ea79def0642f6591eedd78b902298ea78041
parent1e8743a6814bdd909fb309c803c4df9ce33f378b (diff)
downloadprosody-84c161c278e8d30fb9fb706006461d8c84ba5864.tar.gz
prosody-84c161c278e8d30fb9fb706006461d8c84ba5864.zip
mod_storage_sql: Remove completed TODO (testing UPSERT on PostgreSQL)
-rw-r--r--plugins/mod_storage_sql.lua1
1 files changed, 0 insertions, 1 deletions
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);