Log

util/sql.lua @ 8198:db82ce3decee

description author age
util.sql: Greedily read all rows so we can close queries early (fixes #391) Matthew Wild 2017-08-04
util.sql: Produce more SQL-standard-like debug messages Kim Alvefur 2017-04-13
util.sql: Strip indentation from queries for debug logging Kim Alvefur 2017-04-12
util.sql: Apply quote transform in engine:execute so it is applied to eg encoding checks in mod_storage_sql (thanks Martin) Kim Alvefur 2017-04-12
SQL: Use standard quotes for columns and other identifiers, rewrite to grave accents for MySQL only (fixes #885) Kim Alvefur 2017-04-10
util.sql: remove unused one-letter loop variables [luacheck] Anton Shestakov 2016-07-23
util.sql: Import type too (fix global access) Kim Alvefur 2016-05-22
util.sql: Import pcall (fixes #677) Matthew Wild 2016-05-22
util.sql: Log errors in transaction to error level with traceback but return only error message (fixes #464) Kim Alvefur 2016-03-25
util.sql: Charset should be innocent until proven guilty (initialize charset_ok to true), fixes bug introduced in 187ba2e9c012 Matthew Wild 2016-03-23
util.sql: Catch errors from LuaDBI connect (Fixes #568) Kim Alvefur 2016-03-21
util.sql: Remove unused arguments [luacheck] Kim Alvefur 2016-03-13
util.sql: Don't break out of result retreival loops Kim Alvefur 2016-03-13
util.sql: Move per-driver (currenly only PostgreSQL) query transform into its own method Kim Alvefur 2016-03-13
util.sql: Localize unpack() in Lua 5.2 compatible way Kim Alvefur 2016-02-22
util.sql: Raw query debug logging (needs to be explicitly enabled by a plugin) Kim Alvefur 2016-02-21
util.sql: Export db2uri (mod_storage_sql2 command uses it) (thanks mike) Kim Alvefur 2015-09-02
util.sql: Log when transactions begin Kim Alvefur 2015-08-30
util.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur 2015-02-21
util.{interpolation,prosodyctl,sql}: Trim trailing whitespace Kim Alvefur 2015-07-17
util.sql: Add safety check to ensure our chosen connection charset is actually being used (MySQL) Matthew Wild 2015-07-08
util.sql: Fix log level of debug message Matthew Wild 2015-07-08
util.sql: Log debug message when connecting to database Matthew Wild 2015-07-08
util.sql: Make set_encoding() return failure of SET NAMES Matthew Wild 2015-07-08
util.sql: Return failure if set_encoding() fails Matthew Wild 2015-07-08
util.sql: Use appropriate collation for the chosen character set - fixes MySQL silently ignoring our SET NAMES command when we use utf8mb4 Matthew Wild 2015-07-08
util.sql: Create table with same charset as the charset we selected for our connection, also use corresponding _bin collation Matthew Wild 2015-07-08
util.sql: Allow onconnect callback to fail connection to the DB by returning false, err Matthew Wild 2015-07-07
util.sql: Call onconnect, provide noop dummy if not set Kim Alvefur 2015-07-02
util.sql: Remove built-in engine caching. This is the wrong layer to do this, and unintentionally sharing connections could cause problems (e.g. when interleaving multiple queries and result fetching) Matthew Wild 2015-06-03