Log

util/sql.lua @ 8414:7ea3311ca632

description author age
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