Software /
code /
prosody
Changeset
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 |
parents | 13189:36b7bdafc993 |
children | 13191:1266efb7101c |
files | plugins/mod_storage_sql.lua |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
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);