summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_db.php
AgeCommit message (Collapse)Author
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