Commit Graph

179 Commits (f70ab44b4c3f4bdf65795b85fc2f98e94feca1fb)

Author SHA1 Message Date
Waqas Hussain fde7a07d28 mod_storage_sql: Initial commit of new SQL data driver. 15 years ago
Waqas Hussain fe3c6d5654 mod_storage_sql: Initial commit of new SQL data driver. 15 years ago
Matthew Wild 8ec24c7bf7 mod_storage_sql: Add extra logging and error handling around table creation 15 years ago
Matthew Wild 089b80680f mod_storage_sql: Add sql_manage_tables to disable table creation/updating. 15 years ago
Matthew Wild 6b16aa6794 mod_storage_sql: Log error when failing to update MySQL schema 15 years ago
Matthew Wild 7037ff8b95 mod_storage_sql: Switch to MEDIUMTEXT for the 'value' column when using MySQL, as it imposes a 64K limit otherwise, potentially truncating data. Automatically upgrades existing tables. 15 years ago
Matthew Wild 67088429be mod_storage_sql: Fix commit c806a599224a for compatibility with non-MySQL databases (thanks Ognyan Kulev) 15 years ago
Matthew Wild 9cf13e5dcd mod_storage_sql: Display friendlier error when LuaDBI is missing 15 years ago
Matthew Wild 16e8102a4e mod_storage_sql: Create index when creating a new table 15 years ago
Waqas Hussain adbc809945 mod_storage_sql: Reconnect in all cases, and rollback on error. 15 years ago
Matthew Wild 11d32c9f54 mod_storage_sql: Create table automatically for all databases now, not just SQLite. Also rename table from Prosody -> prosody. 15 years ago
Matthew Wild 1453a1753f mod_storage_sql: Make the 'database' value for the SQLite3 driver relative to the data path 15 years ago
Waqas Hussain 19e5efd0ca mod_storage_sql: Catch Lua errors during SQL transactions, and rollback. 15 years ago
Waqas Hussain 3222de3f4b mod_storage_sql: Catch Lua errors during SQL transactions, and rollback. 15 years ago
Waqas Hussain 5e1f81a522 mod_storage_sql: Removed unnecessary initialization of a variable. 15 years ago
Waqas Hussain e7e865057d mod_storage_sql: Removed unnecessary initialization of a variable. 15 years ago
Waqas Hussain c1d6450cec mod_storage_sql: Use util.json instead of util.serialization. 15 years ago
Waqas Hussain d2117a8141 mod_storage_sql: Log an error on query failure. 15 years ago
Waqas Hussain 7320deb664 mod_storage_sql: Remove the subkey column from the Prosody table, and make the map store compatible with the key-value store. 15 years ago
Waqas Hussain e96a87344c mod_storage_sql: Dynamically replace backquotes with double quotes when connecting to PostgreSQL... 15 years ago
Waqas Hussain 92c4204ee2 mod_storage_sql: Call commit() after all SQL statements, including SELECT, to get SQLite to drop its locks. 15 years ago
Waqas Hussain ef3729312c mod_storage_sql: Quote identifiers in SQL with backquotes, and use the empty string for NULL, and '=' instead of 'IS' for comparison, to work with MySQL's limitations... 15 years ago