Log

util/sql.lua @ 6800:ad231285efdd

description author age
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
util.{interpolation,prosodyctl,sql}: Trim trailing whitespace Kim Alvefur 2015-07-17
util.sql: Add safety check to ensure our chosen connection charset is actually being used (MySQL) Matthew Wild 2015-07-08
util.sql: Fix log level of debug message Matthew Wild 2015-07-08
util.sql: Log debug message when connecting to database Matthew Wild 2015-07-08
util.sql: Make set_encoding() return failure of SET NAMES Matthew Wild 2015-07-08
util.sql: Return failure if set_encoding() fails Matthew Wild 2015-07-08
util.sql: Use appropriate collation for the chosen character set - fixes MySQL silently ignoring our SET NAMES command when we use utf8mb4 Matthew Wild 2015-07-08
util.sql: Create table with same charset as the charset we selected for our connection, also use corresponding _bin collation Matthew Wild 2015-07-08
util.sql: Allow onconnect callback to fail connection to the DB by returning false, err Matthew Wild 2015-07-07
util.sql: Call onconnect, provide noop dummy if not set Kim Alvefur 2015-07-02
util.sql: Remove built-in engine caching. This is the wrong layer to do this, and unintentionally sharing connections could cause problems (e.g. when interleaving multiple queries and result fetching) Matthew Wild 2015-06-03
util.sql: Expose db2uri helper function Matthew Wild 2015-06-03
util.sql: Rename some variable to match conventions Matthew Wild 2015-06-03
util.sql: Remove unused functions and unused commented code Matthew Wild 2015-05-30
mod_storage_sql2, util.sql: Set character encoding on every connect Kim Alvefur 2014-12-11
util.sql: Fix previous commit Kim Alvefur 2013-11-12
util.sql: Get character set info from the correct database. Kim Alvefur 2013-11-12
util.sql: Rewrite auto increment columns to SERIAL for PostgreSQL Kim Alvefur 2013-11-11
util.sql: Fix to call execute on 'self' rather than 'engine' (thanks eisensheng) Matthew Wild 2013-11-10
util.sql: Rewrite MEDIUMTEXT to TEXT for drivers other than MySQL Kim Alvefur 2013-10-30
util.sql: Check what encoding SQLite3 uses Kim Alvefur 2013-10-29
util.sql: Find out if MySQL supports utf8mb4 and use that Kim Alvefur 2013-10-29
util.sql: Support incrementing columns Kim Alvefur 2013-10-28
util.sql: Allow columns to be marked the primary key Kim Alvefur 2013-10-28
util.sql: Allow creating unique indices Kim Alvefur 2013-10-28
mod_storage_sql2, util.sql: Move code for setting encoding to util.sql Kim Alvefur 2013-10-28
Remove all trailing whitespace Florian Zeitz 2013-08-09
util.sql: Do lazy fetching of affected/rowcount Kim Alvefur 2013-07-12
Backed out changeset 3c57c2281087 Kim Alvefur 2013-07-12
util.sql: Don't fetch row count of result sets for queries that don't have result sets Kim Alvefur 2013-07-12
util.sql: Set charset and collation for MySQL when creating tables Kim Alvefur 2013-07-11
mod_storage_sql2 (temporary name), sql.lib, util.sql: New SQL API supporting cross-module connection sharing, transactions and Things - a work in progress Matthew Wild 2013-04-18