Commit Graph

18 Commits

Author SHA1 Message Date
Aleksander Machniak
8defd73ee0 Inlcude SQL query in the log on SQL error (#1489064) 2013-04-30 11:49:35 +02:00
Aleksander Machniak
399db1b647 Add db_prefix configuration option in place of db_table_*/db_sequence_* options
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-27 18:31:40 +02:00
Aleksander Machniak
282dff4f18 Add rcube_db::escape() method, fix escapeSimple() to use escape instead of quote() 2013-04-17 19:33:42 +02:00
Aleksander Machniak
c465ee1e06 Fix typo simpleEscape -> escapeSimple 2013-04-17 17:37:05 +02:00
Aleksander Machniak
39a034b50d Add rcube_db::escapeSimple() method for backward compat.
Conflicts:

	plugins/virtuser_query/virtuser_query.php
2013-04-17 17:14:00 +02:00
Thomas Bruederli
7889c57b77 Match regex on multi-line sql statements 2013-03-24 12:03:16 +01:00
Thomas Bruederli
a85d54e1e8 Hack to reset PDO statement iterators after counting 2013-03-23 17:57:58 +01:00
Thomas Bruederli
d4f8a4f28a Re-implement rcube_db::num_rows() to ensure backwards compatibility 2013-03-13 19:02:31 +01:00
Aleksander Machniak
ac37746c2a Add type 'ident' in quote() so we can quote identifiers (eg. column names) there.
Using array2list() for list of identifiers is now possible.
2013-03-06 08:37:41 +01:00
Aleksander Machniak
bc2c02feec When connection to read-only db fails try to connect to write-master, but only if it is defined 2013-02-17 10:52:45 +01:00
Aleksander Machniak
41db2bf47d Slightly improve database driver chack 2013-01-31 13:18:38 +01:00
Aleksander Machniak
db6f54ec5f Reset $db_error_msg on query 2013-01-09 15:09:00 +01:00
Aleksander Machniak
679b375a46 Fix comment 2012-12-21 09:50:08 +01:00
Aleksander Machniak
a61326c141 Fix locking issue in SQLite driver (#1488874) 2012-12-20 19:51:37 +01:00
Aleksander Machniak
d2534c63f2 Cleanup, remove file paths from doc 2012-12-18 09:07:00 +01:00
Thomas Bruederli
a072247dde Fix package definitions and include framework classes in phpdoc 2012-12-16 17:03:01 +01:00
Aleksander Machniak
a3985963f0 Fix big memory consumption of DB layer (#1488856) 2012-12-07 12:38:08 +01:00
Aleksander Machniak
ba6f21caeb Framework files moved to lib/Roundcube 2012-11-21 19:52:03 +01:00