index
:
prosody.git
0.11
0.12
master
s2s
sasl
tls
origin/0.11
origin/0.12
origin/master
origin/s2s
origin/sasl
origin/tls
origin/vault/0.11
origin/vault/master
origin/vault/s2s
origin/vault/sasl
origin/vault/tls
unofficial mirror of the prosody mercurial project
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
util
/
sql.lua
Commit message (
Expand
)
Author
Age
Files
Lines
*
mod_storage_sql: Record connection to database as module status
Kim Alvefur
2023-01-30
1
-2
/
+6
*
util.sql: Handle failure to detect connection encoding
Kim Alvefur
2019-12-23
1
-0
/
+3
*
util.sql: Preserve 3rd and 4th return values from transaction (fixes #1434) (...
Kim Alvefur
2019-09-28
1
-3
/
+3
*
util.sql: Remove tostring call from logging
Kim Alvefur
2019-07-30
1
-4
/
+4
*
util.sql: Ignore if tables and indices already exist on creation (fixes #1064)
Kim Alvefur
2019-05-30
1
-0
/
+6
*
util.sql: Switch from hacky multi-arg xpcall implementation to util.xpcall
Kim Alvefur
2018-11-11
1
-5
/
+4
*
vairious: Add annotation when an empty environment is set [luacheck]
Kim Alvefur
2018-02-28
1
-0
/
+1
*
util: Ignore some Lua 5.1 vs 5.2 compat things [luacheck]
Kim Alvefur
2017-11-10
1
-1
/
+1
*
util: Various minor changes to please [luacheck]
Kim Alvefur
2017-11-10
1
-33
/
+10
*
util.sql: Discard useless substitution count from string.gsub in SQL debug logs
Kim Alvefur
2017-11-08
1
-2
/
+2
*
util.sql: Return an error message when a SQL commit fails (LuaDBI doesn't) (T...
Kim Alvefur
2017-11-07
1
-1
/
+2
*
util.sql: Don't log at error level if a transaction failed and was retried ok
Matthew Wild
2017-10-04
1
-4
/
+13
*
util.sql: Greedily read all rows so we can close queries early (fixes #391)
Matthew Wild
2017-08-04
1
-1
/
+5
*
util.sql: Produce more SQL-standard-like debug messages
Kim Alvefur
2017-04-13
1
-1
/
+8
*
util.sql: Strip indentation from queries for debug logging
Kim Alvefur
2017-04-12
1
-0
/
+1
*
util.sql: Apply quote transform in engine:execute so it is applied to eg enco...
Kim Alvefur
2017-04-12
1
-2
/
+1
*
SQL: Use standard quotes for columns and other identifiers, rewrite to grave ...
Kim Alvefur
2017-04-10
1
-14
/
+12
*
util.sql: remove unused one-letter loop variables [luacheck]
Anton Shestakov
2016-07-23
1
-2
/
+2
*
util.sql: Import type too (fix global access)
Kim Alvefur
2016-05-22
1
-0
/
+1
*
util.sql: Import pcall (fixes #677)
Matthew Wild
2016-05-22
1
-1
/
+1
*
util.sql: Log errors in transaction to error level with traceback but return ...
Kim Alvefur
2016-03-25
1
-1
/
+5
*
util.sql: Charset should be innocent until proven guilty (initialize charset_...
Matthew Wild
2016-03-23
1
-1
/
+1
*
util.sql: Catch errors from LuaDBI connect (Fixes #568)
Kim Alvefur
2016-03-21
1
-1
/
+2
*
util.sql: Remove unused arguments [luacheck]
Kim Alvefur
2016-03-13
1
-2
/
+2
*
util.sql: Don't break out of result retreival loops
Kim Alvefur
2016-03-13
1
-7
/
+13
*
util.sql: Move per-driver (currenly only PostgreSQL) query transform into its...
Kim Alvefur
2016-03-13
1
-6
/
+10
*
util.sql: Localize unpack() in Lua 5.2 compatible way
Kim Alvefur
2016-02-22
1
-1
/
+1
*
util.sql: Raw query debug logging (needs to be explicitly enabled by a plugin)
Kim Alvefur
2016-02-21
1
-1
/
+31
*
util.sql: Export db2uri (mod_storage_sql2 command uses it) (thanks mike)
Kim Alvefur
2015-09-02
1
-0
/
+1
*
util.sql: Log when transactions begin
Kim Alvefur
2015-08-30
1
-0
/
+1
*
util.*: Remove use of module() function, make all module functions local and ...
Kim Alvefur
2015-02-21
1
-13
/
+24
*
util.{interpolation,prosodyctl,sql}: Trim trailing whitespace
Kim Alvefur
2015-07-17
1
-2
/
+2
*
util.sql: Add safety check to ensure our chosen connection charset is actuall...
Matthew Wild
2015-07-08
1
-0
/
+12
*
util.sql: Fix log level of debug message
Matthew Wild
2015-07-08
1
-1
/
+1
*
util.sql: Log debug message when connecting to database
Matthew Wild
2015-07-08
1
-0
/
+1
*
util.sql: Make set_encoding() return failure of SET NAMES
Matthew Wild
2015-07-08
1
-1
/
+7
*
util.sql: Return failure if set_encoding() fails
Matthew Wild
2015-07-08
1
-1
/
+4
*
util.sql: Use appropriate collation for the chosen character set - fixes MySQ...
Matthew Wild
2015-07-08
1
-1
/
+1
*
util.sql: Create table with same charset as the charset we selected for our c...
Matthew Wild
2015-07-08
1
-1
/
+1
*
util.sql: Allow onconnect callback to fail connection to the DB by returning ...
Matthew Wild
2015-07-07
1
-1
/
+4
*
util.sql: Call onconnect, provide noop dummy if not set
Kim Alvefur
2015-07-02
1
-0
/
+4
*
util.sql: Remove built-in engine caching. This is the wrong layer to do this,...
Matthew Wild
2015-06-03
1
-8
/
+3
*
util.sql: Expose db2uri helper function
Matthew Wild
2015-06-03
1
-1
/
+1
*
util.sql: Rename some variable to match conventions
Matthew Wild
2015-06-03
1
-6
/
+6
*
util.sql: Remove unused functions and unused commented code
Matthew Wild
2015-05-30
1
-87
/
+0
*
mod_storage_sql2, util.sql: Set character encoding on every connect
Kim Alvefur
2014-12-11
1
-0
/
+1
*
util.sql: Fix previous commit
Kim Alvefur
2013-11-12
1
-1
/
+1
*
util.sql: Get character set info from the correct database.
Kim Alvefur
2013-11-12
1
-1
/
+1
*
util.sql: Rewrite auto increment columns to SERIAL for PostgreSQL
Kim Alvefur
2013-11-11
1
-3
/
+4
*
util.sql: Fix to call execute on 'self' rather than 'engine' (thanks eisensheng)
Matthew Wild
2013-11-10
1
-1
/
+1
[next]