aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_sql.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_storage_sql: Make sure all serialization errors are propagatedKim Alvefur2016-03-211-5/+3
|
* mod_storage_sql: Allow loops over results to end on their ownKim Alvefur2016-03-131-6/+8
|
* mod_storage_sql: Add LIMIT clause to queries where only a single row is expectedKim Alvefur2016-03-131-3/+3
|
* mod_storage_sql: Treat non-existent archive IDs as beyound the end of the ↵Kim Alvefur2016-02-221-2/+2
| | | | archive (fixes #624) (tested on sqlite3 only)
* mod_storage_sql: Remove debug logging of archive queriesKim Alvefur2016-02-211-2/+0
|
* mod_storage_sql: Lower message about new engine creation to debug levelKim Alvefur2016-02-211-1/+1
|
* mod_storage_sql: Share SQL connections with same parameters across ↵Kim Alvefur2016-02-211-11/+17
| | | | VirtualHosts (fixes #576)
* mod_storage_sql: Fix setting value to false in map storeKim Alvefur2016-02-191-1/+2
|
* mod_storage_sql: Silence some harmless luacheck warningsKim Alvefur2016-02-091-0/+3
|
* mod_storage_sql: Implement map:set_keys, allowing multiple keys to be set in ↵Kim Alvefur2016-02-091-17/+23
| | | | the same transaction
* mod_storage_sql: Support non-string keys in map storeKim Alvefur2016-02-081-2/+14
|
* mod_storage_sql: Fix use of SQLite3 in-memory database (no path expansion)Kim Alvefur2015-12-151-1/+3
|
* mod_storage_sql: Add map store (backported from trunk)Matthew Wild2015-12-031-0/+34
|
* mod_storage_sql: Whitespace fix (backported from trunk)Matthew Wild2015-12-031-1/+1
|
* storagemanager, mod_storage_sql, mod_storage_sql2: Rename mod_storage_sql2 ↵Matthew Wild2015-12-031-307/+335
| | | | -> mod_storage_sql, mod_storage_sql -> mod_storage_sql1 (temporarily), and emit warning for configs using sql2
* mod_storage_{none,internal,sql}: Return error for unsupported (everything ↵Kim Alvefur2014-06-201-3/+3
| | | | but keyval) store types
* core.certmanager, core.moduleapi, mod_storage_sql, mod_storage_sql2: Import ↵Kim Alvefur2014-05-091-1/+1
| | | | from util.paths
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-13/+13
|
* mod_storage_sql: Return actual error string on commit failure.Waqas Hussain2012-11-301-1/+2
|
* mod_storage_sql: Add support for iterating over users with data in a storeKim Alvefur2012-09-211-0/+11
|
* Merge 0.9->trunkMatthew Wild2012-09-191-9/+8
|\
| * mod_storage_sql: Remove obsolete commentMatthew Wild2012-09-191-1/+1
| |
| * storagemanager, datamanager, mod_storage_{internal,sql}: Replace ↵Kim Alvefur2012-09-171-9/+8
| | | | | | | | list_stores() with an iterator version
* | mod_storage_*: Don't explicitly set driver name, to ease copying/renaming ↵Waqas Hussain2012-09-121-1/+1
| | | | | | | | modules.
* | core.storagemanager, mod_storage_*: "data-driver" -> "storage-provider", to ↵Waqas Hussain2012-09-121-1/+1
|/ | | | allow using module:provides().
* mod_storage_sql: Return connection from connect even if already connected ↵Matthew Wild2012-07-301-1/+1
| | | | (thanks IRON)
* mod_storage_sql: Complete transactions in list_stores and purgeKim Alvefur2012-07-301-5/+5
|
* mod_storage_sql: Keep connections in a shared cache tableKim Alvefur2012-07-301-0/+22
|
* mod_storage_sql: Add method for removing all data belonging to a userKim Alvefur2012-07-281-0/+8
|
* mod_storage_sql: Add method for listing storesKim Alvefur2012-07-281-0/+18
|
* mod_storage_sql: Split out query handling logic from getsql() into a ↵Kim Alvefur2012-07-281-2/+5
| | | | separate function
* mod_storage_sql: Add extra logging and error handling around table creationvault/0.8.20.8.2Matthew Wild2011-06-111-4/+11
|
* mod_storage_sql: Add sql_manage_tables to disable table creation/updating.Matthew Wild2011-06-111-0/+3
|
* mod_storage_sql: Fix commit c806a599224a for compatibility with non-MySQL ↵Matthew Wild2011-06-051-1/+1
| | | | databases (thanks Ognyan Kulev)
* mod_storage_sql: Log error when failing to update MySQL schemavault/0.8.10.8.1Matthew Wild2011-06-031-0/+2
|
* mod_storage_sql: Switch to MEDIUMTEXT for the 'value' column when using ↵Matthew Wild2011-06-021-0/+18
| | | | MySQL, as it imposes a 64K limit otherwise, potentially truncating data. Automatically upgrades existing tables.
* mod_storage_sql: Display friendlier error when LuaDBI is missingMatthew Wild2011-03-011-1/+12
|
* mod_storage_sql: Create index when creating a new tableMatthew Wild2011-01-111-13/+32
|
* mod_storage_sql: Reconnect in all cases, and rollback on error.Waqas Hussain2011-01-101-15/+47
|
* mod_storage_sql: Create table automatically for all databases now, not just ↵Matthew Wild2011-01-081-19/+21
| | | | SQLite. Also rename table from Prosody -> prosody.
* mod_storage_sql: Make the 'database' value for the SQLite3 driver relative ↵Matthew Wild2011-01-071-2/+9
| | | | to the data path
* mod_storage_sql: Catch Lua errors during SQL transactions, and rollback.Waqas Hussain2011-01-051-13/+30
|
* mod_storage_sql: Removed unnecessary initialization of a variable.Waqas Hussain2011-01-051-1/+1
|
* mod_storage_sql: Use util.json instead of util.serialization.Waqas Hussain2010-12-271-4/+4
|
* mod_storage_sql: Log an error on query failure.Waqas Hussain2010-12-271-1/+1
|
* mod_storage_sql: Remove the subkey column from the Prosody table, and make ↵Waqas Hussain2010-12-271-30/+21
| | | | the map store compatible with the key-value store.
* mod_storage_sql: Dynamically replace backquotes with double quotes when ↵Waqas Hussain2010-12-271-2/+6
| | | | connecting to PostgreSQL...
* mod_storage_sql: Call commit() after all SQL statements, including SELECT, ↵Waqas Hussain2010-12-271-3/+3
| | | | to get SQLite to drop its locks.
* mod_storage_sql: Quote identifiers in SQL with backquotes, and use the empty ↵Waqas Hussain2010-12-271-15/+15
| | | | string for NULL, and '=' instead of 'IS' for comparison, to work with MySQL's limitations...
* mod_storage_sql: Fix a couple of bugs in "JSON" decodingMatthew Wild2010-12-181-2/+2
|