summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_db.php
AgeCommit message (Collapse)Author
2015-04-06Fix tables listing routine on mysql and postgres so it skips system or other ↵Aleksander Machniak
database tables and views (#1490337)
2015-03-12Fix backtick character handling in sql queries (#1490312)Aleksander Machniak
2015-02-24Add possibility to configure max_allowed_packet value for all database ↵Aleksander Machniak
engines (#1490283)
2015-01-03CS fixesAleksander Machniak
2014-11-03Add plugin hook 'db_table_name' as requested in #1489837Thomas Bruederli
2014-09-18Remove Oracle driver based on PDO_OCI extensionAleksander Machniak
2014-09-17Added transactions supportAleksander Machniak
2014-09-17Add Oracle driver which uses OCI8 extension - the one that supports CLOB columnsAleksander Machniak
2014-09-12Use consistent column/table quoting in sql queriesAleksander Machniak
2014-09-08Added license headers to driver files, CS fixesAleksander Machniak
2014-04-29Revert [78a58162], TABLE_SCHEMA column does not exist in mysql, alsoAleksander Machniak
tables in postgres can be in 'public' schema.
2014-04-29Fix varius db_prefix issues (#1489839)Aleksander Machniak
- Move DDL script execution code to rcube_db class(es). - Improve prefix replacement code, so index names are also modified
2014-04-14When checking if DB schema is up-to-date, limit the checks to tables in our ↵Marc-Oliver Teschke
current schema. Otherwise installer might return false positives when DB user has access to multiple schemas. Signed-off-by: Marc-Oliver Teschke <teschke@planwerk6.de>
2013-11-06Small performance improvements, use str_replace() instead of strtr(),Aleksander Machniak
do not parse query if there are no params to replace, keep one instance of (potentially long) query less in memory
2013-10-14Key duplicate error on postgres uses SQLSTATE=23505Aleksander Machniak
2013-10-07Assign the chosen mode to the table mapThomas Bruederli
2013-10-07Improve selection of replicated database connection:Thomas Bruederli
- Analyze query and prefer dsnr unless a write operation for a table involved has been carried out before - New config option and setter method to enforce connection mode on table level
2013-10-04New option to disable the use of already established dsnw connections for ↵Thomas Bruederli
subsequent reads
2013-09-12Retry queries on deadlock errors from InnoDB row-level locking (MySQL)Thomas Bruederli
2013-06-09Fix database cache expunge issues (#1489149) - added 'expires' columnAleksander Machniak
2013-06-08Simplified db connection initialisation codeAleksander Machniak
2013-06-08Fix date format issues on MS SQL Server (#1488918)Aleksander Machniak
2013-06-05Add optional argument to now() for simple interval calculations on SQL-sideAleksander Machniak
2013-06-05Fix "duplicate entry" errors on inserts to imap cache tables (#1489146)Aleksander Machniak
2013-06-02Fix backward copat. with cached values serialized but not base64-encoded ↵Aleksander Machniak
(#1489142)
2013-06-02Fix bug where serialized strings were truncated in PDO::quote() (#1489142)Aleksander Machniak
2013-05-15Simplify/fix debug lines truncationAleksander Machniak
2013-05-08Limit debug log entry (line) size to 4096 characters to preventAleksander Machniak
memory_limit/preformance issues when debug is enabled (imap, smtp, db)
2013-05-06Fix various PHP code bugs found using static analysis (#1489086)Aleksander Machniak
2013-04-30Inlcude SQL query in the log on SQL error (#1489064)Aleksander Machniak
2013-04-27Add db_prefix configuration option in place of db_table_*/db_sequence_* optionsAleksander Machniak
Make possible to use db_prefix for schema initialization in Installer (#1489067) Fix updatedb.sh script so it recognizes also table prefix for external DDL files
2013-04-17Add rcube_db::escape() method, fix escapeSimple() to use escape instead of ↵Aleksander Machniak
quote()
2013-04-17Fix typo simpleEscape -> escapeSimpleAleksander Machniak
2013-04-17Add rcube_db::escapeSimple() method for backward compat.Aleksander Machniak
Conflicts: plugins/virtuser_query/virtuser_query.php
2013-03-24Match regex on multi-line sql statementsThomas Bruederli
2013-03-23Hack to reset PDO statement iterators after countingThomas Bruederli
2013-03-13Re-implement rcube_db::num_rows() to ensure backwards compatibilityThomas Bruederli
2013-03-06Add type 'ident' in quote() so we can quote identifiers (eg. column names) ↵Aleksander Machniak
there. Using array2list() for list of identifiers is now possible.
2013-02-17When connection to read-only db fails try to connect to write-master, but ↵Aleksander Machniak
only if it is defined
2013-01-31Slightly improve database driver chackAleksander Machniak
2013-01-09Reset $db_error_msg on queryAleksander Machniak
2012-12-21Fix commentAleksander Machniak
2012-12-20Fix locking issue in SQLite driver (#1488874)Aleksander Machniak
2012-12-18Cleanup, remove file paths from docAleksander Machniak
2012-12-16Fix package definitions and include framework classes in phpdocThomas Bruederli
2012-12-07Fix big memory consumption of DB layer (#1488856)Aleksander Machniak
2012-11-21Framework files moved to lib/RoundcubeAleksander Machniak