Commit graph

5 commits

Author SHA1 Message Date
Kim Alvefur
43531740f9 util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
Kim Alvefur
0147b972e0 mod_storage_sql: Record connection to database as module status
Allows retrieving this in e.g. a health reporting module

Thanks pfak
2023-01-30 00:38:26 +01:00
Kim Alvefur
e3836f22e0 util.sqlite3: Skip prepared statements when no parameters are given
Seems CREATE INDEX is unhappy as a prepared statement. Perhaps because
the table has not been COMMIT-ed yet?
2022-08-01 17:25:40 +02:00
Kim Alvefur
320d4032a2 util.sqlite3: Create util.error registry from headers
The 'type' fields are a first guess.
2021-10-01 02:27:53 +02:00
Kim Alvefur
2dada39e39 util.sqlite3: SQLite3-only variant of util.sql using LuaSQLite3
http://lua.sqlite.org/
2022-08-01 15:23:33 +02:00