Log

util/sql.lua @ 11911:0e7dedd8b18d

description author age
util.sql: Handle failure to detect connection encoding Kim Alvefur Mon, 23 Dec 2019 21:13:27 +0100
util.sql: Preserve 3rd and 4th return values from transaction (fixes #1434) (thanks mrdoctorwho) Kim Alvefur Sat, 28 Sep 2019 18:24:28 +0200
util.sql: Remove tostring call from logging Kim Alvefur Tue, 30 Jul 2019 02:23:44 +0200
util.sql: Ignore if tables and indices already exist on creation (fixes #1064) 0.11 Kim Alvefur Thu, 30 May 2019 23:50:28 +0200
util.sql: Switch from hacky multi-arg xpcall implementation to util.xpcall 0.11 Kim Alvefur Sun, 11 Nov 2018 02:26:40 +0100
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur Wed, 28 Feb 2018 20:06:26 +0100
util: Ignore some Lua 5.1 vs 5.2 compat things [luacheck] Kim Alvefur Fri, 10 Nov 2017 17:47:11 +0100
util: Various minor changes to please [luacheck] Kim Alvefur Fri, 10 Nov 2017 05:42:32 +0100
util.sql: Discard useless substitution count from string.gsub in SQL debug logs Kim Alvefur Wed, 08 Nov 2017 10:45:58 +0100
util.sql: Return an error message when a SQL commit fails (LuaDBI doesn't) (Thanks Ge0rG) Kim Alvefur Tue, 07 Nov 2017 09:26:48 +0100
util.sql: Don't log at error level if a transaction failed and was retried ok Matthew Wild Wed, 04 Oct 2017 10:16:42 +0100
util.sql: Greedily read all rows so we can close queries early (fixes #391) Matthew Wild Fri, 04 Aug 2017 18:52:15 +0100
util.sql: Produce more SQL-standard-like debug messages Kim Alvefur Thu, 13 Apr 2017 22:37:35 +0200
util.sql: Strip indentation from queries for debug logging Kim Alvefur Wed, 12 Apr 2017 18:57:40 +0200
util.sql: Apply quote transform in engine:execute so it is applied to eg encoding checks in mod_storage_sql (thanks Martin) Kim Alvefur Wed, 12 Apr 2017 17:26:44 +0200
SQL: Use standard quotes for columns and other identifiers, rewrite to grave accents for MySQL only (fixes #885) Kim Alvefur Mon, 10 Apr 2017 23:13:39 +0200
util.sql: remove unused one-letter loop variables [luacheck] Anton Shestakov Sat, 23 Jul 2016 18:22:05 +0800
util.sql: Import type too (fix global access) Kim Alvefur Sun, 22 May 2016 14:37:52 +0200
util.sql: Import pcall (fixes #677) Matthew Wild Sun, 22 May 2016 02:16:11 +0100
util.sql: Log errors in transaction to error level with traceback but return only error message (fixes #464) Kim Alvefur Fri, 25 Mar 2016 16:09:34 +0100
util.sql: Charset should be innocent until proven guilty (initialize charset_ok to true), fixes bug introduced in 187ba2e9c012 Matthew Wild Wed, 23 Mar 2016 12:17:28 +0000
util.sql: Catch errors from LuaDBI connect (Fixes #568) Kim Alvefur Mon, 21 Mar 2016 09:50:52 +0100
util.sql: Remove unused arguments [luacheck] Kim Alvefur Sun, 13 Mar 2016 18:35:00 +0100
util.sql: Don't break out of result retreival loops Kim Alvefur Sun, 13 Mar 2016 18:31:53 +0100
util.sql: Move per-driver (currenly only PostgreSQL) query transform into its own method Kim Alvefur Sun, 13 Mar 2016 17:38:49 +0100
util.sql: Localize unpack() in Lua 5.2 compatible way Kim Alvefur Mon, 22 Feb 2016 17:30:12 +0100
util.sql: Raw query debug logging (needs to be explicitly enabled by a plugin) Kim Alvefur Sun, 21 Feb 2016 19:25:01 +0100
util.sql: Export db2uri (mod_storage_sql2 command uses it) (thanks mike) Kim Alvefur Wed, 02 Sep 2015 14:14:22 +0200
util.sql: Log when transactions begin Kim Alvefur Sun, 30 Aug 2015 13:45:36 +0200
util.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur Sat, 21 Feb 2015 10:36:37 +0100