Commit Graph

28 Commits (cf20170bb3481dcdd673d14248937eae0d47a3bd)

Author SHA1 Message Date
Kim Alvefur 8a8617a2c5 mod_storage_sql2: Only attempt to delete conflicting items if an ID/key is given 12 years ago
Kim Alvefur 44a3a3384c mod_storage_sql2: Fix another SQL syntax error that slipped trough 12 years ago
Kim Alvefur f307f2a4a6 mod_storage_sql2: Fix SQL syntax 12 years ago
Kim Alvefur eea1e66570 mod_storage_sql2: Fix syntax error in subquery (Thanks Lance) 12 years ago
Kim Alvefur fa79c28552 mod_storage_sql2: Expose the unique key argument, allowing arbitrary ids. Conflicting items are removed. 12 years ago
Kim Alvefur 4725039181 mod_storage_sql2: Include user, host and store in id lookup 12 years ago
Kim Alvefur 2d85f0a5e6 mod_storage_sql2: Auto increment columns won't be NULL, so drop nullable=false 12 years ago
Kim Alvefur 77355bc935 mod_storage_sql2: Fix backwards comparison of timestamp 12 years ago
Kim Alvefur 9e2d18bd98 mod_storage_sql2: Switch to the util.sql table definition for the main table 12 years ago
Kim Alvefur cc7547d712 mod_storage_sql2: The prosodyarchive_index should be unique 12 years ago
Kim Alvefur 18c0eafd7a mod_storage_sql2: Use primary_key and auto_increment flags instead of baking that into the type 12 years ago
Kim Alvefur 1ffe00783e mod_storage_sql2: Use MEDIUMTEXT fields for value columns (ie TEXT on non-MySQL) 12 years ago
Kim Alvefur 9b8315dd29 mod_storage_sql2: Move checking of the sql_manage_tables option so it also includes table upgrades (again) 12 years ago
Kim Alvefur acefadc54b mod_storage_sql2, util.sql: Move code for setting encoding to util.sql 12 years ago
Kim Alvefur 6c411a5f8e mod_storage_sql2: Move all schema upgrade code to the same place 12 years ago
Kim Alvefur 8793f6b788 mod_storage_sql2: Split up setting of encoding and table upgrade code 12 years ago
Kim Alvefur ec02caa583 mod_storage_sql2: Add method for deleting items from archives with same syntax as :find() 12 years ago
Kim Alvefur dad0501c65 mod_storage_sql2: Split out code for building WHERE clauses into separate functions 12 years ago
Florian Zeitz 4b618a8727 Remove all trailing whitespace 13 years ago
Kim Alvefur affa1690f4 mod_storage_sql2: Do an early return and drop an indentation level 13 years ago
Kim Alvefur 38861d82ff mod_storage_sql2: Add archive store with append and find methods 13 years ago
Kim Alvefur b6c04853fd mod_storage_sql2: Create an additional table `prosodyarchive` for chronological collections 13 years ago
Matthew Wild 07dee43089 mod_storage_sql2: Remove from 0.9 13 years ago
Kim Alvefur 6bae3611e9 mod_storage_sql2: Support XML serialization for stanzas. 13 years ago
Kim Alvefur 127153f466 mod_storage_sql2: Keep available store types in a table 13 years ago
Kim Alvefur e3d8ade9f0 mod_storage_sql2: Fix iteration over users and stores 13 years ago
Kim Alvefur b49b1888f8 mod_storage_sql2: Make sure the user field is not NULL 13 years ago
Kim Alvefur 4b575092a1 mod_storage_sql2: Use correct variable (Thanks SkyBlue and Florob) 13 years ago
Matthew Wild 0dd53a7f83 mod_storage_sql2 (temporary name), sql.lib, util.sql: New SQL API supporting cross-module connection sharing, transactions and Things - a work in progress 13 years ago