| Commit message (Expand) | Author | Age | Files | Lines |
* | 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 |
* | util.sql: Rewrite MEDIUMTEXT to TEXT for drivers other than MySQL | Kim Alvefur | 2013-10-30 | 1 | -1/+5 |
* | util.sql: Check what encoding SQLite3 uses | Kim Alvefur | 2013-10-29 | 1 | -1/+7 |
* | util.sql: Find out if MySQL supports utf8mb4 and use that | Kim Alvefur | 2013-10-29 | 1 | -6/+11 |
* | util.sql: Support incrementing columns | Kim Alvefur | 2013-10-28 | 1 | -0/+9 |
* | util.sql: Allow columns to be marked the primary key | Kim Alvefur | 2013-10-28 | 1 | -0/+1 |
* | util.sql: Allow creating unique indices | Kim Alvefur | 2013-10-28 | 1 | -0/+3 |
* | mod_storage_sql2, util.sql: Move code for setting encoding to util.sql | Kim Alvefur | 2013-10-28 | 1 | -0/+11 |
* | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 1 | -1/+1 |
* | util.sql: Do lazy fetching of affected/rowcount | Kim Alvefur | 2013-07-12 | 1 | -3/+3 |
* | Backed out changeset 3c57c2281087 | Kim Alvefur | 2013-07-12 | 1 | -1/+2 |
* | util.sql: Don't fetch row count of result sets for queries that don't have re... | Kim Alvefur | 2013-07-12 | 1 | -2/+1 |
* | util.sql: Set charset and collation for MySQL when creating tables | Kim Alvefur | 2013-07-11 | 1 | -0/+2 |
* | mod_storage_sql2 (temporary name), sql.lib, util.sql: New SQL API supporting ... | Matthew Wild | 2013-04-18 | 1 | -0/+340 |