Commit Graph

54 Commits (f547424c75a270aac64075a3d1e0c6cdbef83dc8)

Author SHA1 Message Date
alecpl 8b8512fd98 - Reset error flag when connecting to (another) database 13 years ago
alecpl 69f00be516 - Fallback to write-master when readonly database fails 13 years ago
alecpl aa546e1788 - Fix handling of DB connection failures. Detect failure on connection level instead of on query level.
Fixes issue when one write query failed, next queries were not executed.
- Changed 'var' to 'public'.
13 years ago
alecpl f5a55bf173 - Make debug handler to be a method of rcube_mdb2 14 years ago
thomascube 10ea10a317 Catch write-errors on database (yet untested) 14 years ago
alecpl d2a64865a7 - Fix func_get_args() usage for PHP<5.3 (#1487928) 14 years ago
thomascube 0ec7fe4efc Fix sort order when contact name is empty 14 years ago
thomascube ff4ffc6d54 Revert r4746 due to timestsamp issues with mysql; deprecate rcube_mdb2::unixtimestamp() 14 years ago
thomascube fd540bad79 Rely on mysql server timezone not on PHP 14 years ago
thomascube 0761e2b1f7 Remove unnecessary code (thanks Alec) 14 years ago
thomascube 73d6b2a6b0 Fix return value of affected_rows() 14 years ago
alecpl 4351f7cd66 - Improve performance by including files with absolute path (#1487849) 14 years ago
thomascube 7342bb8b7a Check for DB connection state instead of handle (handle could be an error object) 14 years ago
thomascube bbb1427caa Gracefully shrug on database errors 14 years ago
alecpl 6491fbdbae - Fixed bug where some dates would produce SQL error in MySQL (#1487856) 14 years ago
thomascube e6bb836e05 Create interactive update script with improved DB schema check; udated installer with new features and styles 14 years ago
thomascube f5e7b35307 Bumbed version; Roundcube development is not Switzerland only 14 years ago
alecpl 9db4ca92ef - Support one argument of type array, instead of n arguments for rcube_mdb2::query method 14 years ago
alecpl 5c461bada9 - Update phpdoc (#1486958) 14 years ago
thomascube 8603bbba2e Fix base url resolution + better order for condition checks in rcube_mdb2 + updated changelog 14 years ago
alecpl e019f2d0f2 - s/RoundCube/Roundcube/ 14 years ago
thomascube cb2bc809ef Fix db_mode check in insert_id() 14 years ago
thomascube a3de4f6054 Fix selection of read/write db connection 14 years ago
alecpl 860678e333 - Add semicolon at the end of SQL queries in log (#1486957) 14 years ago
alecpl 05a7e3d603 - Fix typo (#1486703) 15 years ago
alecpl a004bb8cbe - code re-formatting + small improvements 15 years ago
alecpl 5318bac11d - Don't add extra newline in sql debug log 15 years ago
alecpl cbde304b98 - Use MDB2's Manager module for listing tables 15 years ago
thomascube 64d855c9b1 List of tables mustn't be static (wtf?) 15 years ago
thomascube c0297f4172 Asynchronously expand contact groups + skip count queries in autocompletion mode + check for the existance of contactgroups table 15 years ago
alecpl e1ac217397 - Fix inconsistency when not using default table names (#1486467) 15 years ago
alecpl 10eedbe75a - add file/line definitions to raise_error() calls 15 years ago
alecpl 2273d4117f - Add support for MDB2's 'sqlsrv' driver (#1486395) 15 years ago
alecpl 8678ce85e6 - Fix rcube_mdb2::affected_rows() (#1486082) 15 years ago
alecpl 6b7e8e705a - Use sequence names only with PostgreSQL (#1486018) 16 years ago
alecpl dec9e85eae - Fix rcube_mdb2.php: call to setCharset not implemented in mssql driver (#1486019) 16 years ago
alecpl 44653321b4 - Fix rcube_mdb2::unixtimestamp for MS SQL (#1486015) 16 years ago
alecpl 6955c70f28 - handle errors in insert_id() 16 years ago
alecpl d559cba5f7 - Added 'imap_debug' option, described 'sql_debug' option in config file 16 years ago
alecpl ac622998f9 - Fix non-unicode characters caching in unicode database (#1484608) 16 years ago
alecpl ad84f9c06c - performance improvements of messages caching 16 years ago
alecpl 26d857447f - Fix session handling on non-session SQL query error (#1485734) 16 years ago
alecpl 50d515a7d6 - some hints to use sqlite db (#1485821) 16 years ago
alecpl bac3565695 - Fix read/write database recognition (#1485811) 16 years ago
till cbbef379a5 * bumping up copyright (happy new year ;-)) 16 years ago
alecpl 9c5bee69d7 - Fix SQL query execution errors handling in rcube_mdb2 class (#1485509) 16 years ago
thomascube e905db1305 Set postgres-specific schema options + fix indentation 16 years ago
alecpl 9f23f05221 - set MDB2's sequence options for postgres only 16 years ago
alecpl af7a23d9d9 - better postgresql sequence names handling 16 years ago
alecpl 95987c3943 - removed PHP4 class constructors 16 years ago