aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_sql.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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