aboutsummaryrefslogtreecommitdiffstats
path: root/util/sql.lua
Commit message (Expand)AuthorAgeFilesLines
* util.{interpolation,prosodyctl,sql}: Trim trailing whitespaceKim Alvefur2015-07-171-2/+2
* util.sql: Add safety check to ensure our chosen connection charset is actuall...Matthew Wild2015-07-081-0/+12
* util.sql: Fix log level of debug messageMatthew Wild2015-07-081-1/+1
* util.sql: Log debug message when connecting to databaseMatthew Wild2015-07-081-0/+1
* util.sql: Make set_encoding() return failure of SET NAMESMatthew Wild2015-07-081-1/+7
* util.sql: Return failure if set_encoding() failsMatthew Wild2015-07-081-1/+4
* util.sql: Use appropriate collation for the chosen character set - fixes MySQ...Matthew Wild2015-07-081-1/+1
* util.sql: Create table with same charset as the charset we selected for our c...Matthew Wild2015-07-081-1/+1
* util.sql: Allow onconnect callback to fail connection to the DB by returning ...Matthew Wild2015-07-071-1/+4
* util.sql: Call onconnect, provide noop dummy if not setKim Alvefur2015-07-021-0/+4
* util.sql: Remove built-in engine caching. This is the wrong layer to do this,...Matthew Wild2015-06-031-8/+3
* util.sql: Expose db2uri helper functionMatthew Wild2015-06-031-1/+1
* util.sql: Rename some variable to match conventionsMatthew Wild2015-06-031-6/+6
* util.sql: Remove unused functions and unused commented codeMatthew Wild2015-05-301-87/+0
* mod_storage_sql2, util.sql: Set character encoding on every connectKim Alvefur2014-12-111-0/+1
* util.sql: Fix previous commitKim Alvefur2013-11-121-1/+1
* util.sql: Get character set info from the correct database.Kim Alvefur2013-11-121-1/+1
* util.sql: Rewrite auto increment columns to SERIAL for PostgreSQLKim Alvefur2013-11-111-3/+4
* util.sql: Fix to call execute on 'self' rather than 'engine' (thanks eisensheng)Matthew Wild2013-11-101-1/+1
* util.sql: Rewrite MEDIUMTEXT to TEXT for drivers other than MySQLKim Alvefur2013-10-301-1/+5
* util.sql: Check what encoding SQLite3 usesKim Alvefur2013-10-291-1/+7
* util.sql: Find out if MySQL supports utf8mb4 and use thatKim Alvefur2013-10-291-6/+11
* util.sql: Support incrementing columnsKim Alvefur2013-10-281-0/+9
* util.sql: Allow columns to be marked the primary keyKim Alvefur2013-10-281-0/+1
* util.sql: Allow creating unique indicesKim Alvefur2013-10-281-0/+3
* mod_storage_sql2, util.sql: Move code for setting encoding to util.sqlKim Alvefur2013-10-281-0/+11
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-1/+1
* util.sql: Do lazy fetching of affected/rowcountKim Alvefur2013-07-121-3/+3
* Backed out changeset 3c57c2281087Kim Alvefur2013-07-121-1/+2
* util.sql: Don't fetch row count of result sets for queries that don't have re...Kim Alvefur2013-07-121-2/+1
* util.sql: Set charset and collation for MySQL when creating tablesKim Alvefur2013-07-111-0/+2
* mod_storage_sql2 (temporary name), sql.lib, util.sql: New SQL API supporting ...Matthew Wild2013-04-181-0/+340