aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_sql.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* mod_storage_sql: Use 'IS' for comparison instead of '=', to avoid SQL's NULL ↵Waqas Hussain2010-12-131-6/+6
| | | | insanity.
* mod_storage_sql: Fixed the deserialization of string-typed values.Waqas Hussain2010-12-131-1/+1
|
* mod_storage_sql: Auto-initialize SQLite3 database.Waqas Hussain2010-12-121-0/+13
|
* mod_storage_sql: Default value for option sql = { driver = "SQLite3", ↵Waqas Hussain2010-12-121-1/+1
| | | | database = "prosody.sqlite" }.
* mod_storage_sql: Fixed a typo.Waqas Hussain2010-12-121-1/+1
|
* mod_storage_sql: Initial commit of new SQL data driver.Waqas Hussain2010-12-121-0/+226