Software /
code /
prosody
Diff
plugins/mod_storage_sql.lua @ 13190:9dc6de46dae3
mod_storage_sql: Remove completed TODO (testing UPSERT on PostgreSQL)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 12 Jul 2023 22:51:37 +0200 |
parent | 13159:706f7d1affc2 |
child | 13213:50324f66ca2a |
line wrap: on
line diff
--- 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);