Log

util/sql.lua @ 12386:2d3080d02960

description author age
util.sql: Handle failure to detect connection encoding Kim Alvefur 2019-12-23
util.sql: Preserve 3rd and 4th return values from transaction (fixes #1434) (thanks mrdoctorwho) Kim Alvefur 2019-09-28
util.sql: Remove tostring call from logging Kim Alvefur 2019-07-30
util.sql: Ignore if tables and indices already exist on creation (fixes #1064) 0.11 Kim Alvefur 2019-05-30
util.sql: Switch from hacky multi-arg xpcall implementation to util.xpcall 0.11 Kim Alvefur 2018-11-11
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur 2018-02-28
util: Ignore some Lua 5.1 vs 5.2 compat things [luacheck] Kim Alvefur 2017-11-10
util: Various minor changes to please [luacheck] Kim Alvefur 2017-11-10
util.sql: Discard useless substitution count from string.gsub in SQL debug logs Kim Alvefur 2017-11-08
util.sql: Return an error message when a SQL commit fails (LuaDBI doesn't) (Thanks Ge0rG) Kim Alvefur 2017-11-07
util.sql: Don't log at error level if a transaction failed and was retried ok Matthew Wild 2017-10-04
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