Commit Graph

195 Commits (12f4494de02457d51004ca6a82c1b2160189819f)

Author SHA1 Message Date
Bart Visscher d563367b0f More style fixes 13 years ago
Bart Visscher 2cc94cbc73 Style fixes 13 years ago
Bart Visscher fd317f599b Simplify OC_DB transaction functions 13 years ago
Bart Visscher 5ffb8fac24 Use function to create schema manager 13 years ago
Bart Visscher 59c5529a2b Rename \OC\DB\Schema to \OC\DB\MDB2SchemaManager 13 years ago
Bart Visscher 9432885428 Change OC_DB_Schema to use DI for db connection object 13 years ago
Jörn Friedrich Dreyer 05fa55f2eb always return int 13 years ago
Bart Visscher d7916363e1 Make DB connection available to use for dependency injection 13 years ago
Bart Visscher 000b5a801f Move building error string to connection 13 years ago
Bart Visscher de83bf98c7 Group database connection and schema function 13 years ago
Bart Visscher 013333fe6a Cleanup: remove code for multiple database backends 13 years ago
Bart Visscher 3e0e2cfa19 Use $connection for schema changes 13 years ago
Bart Visscher 8a332cdc94 Simplify OC_DB transaction functions 13 years ago
Bart Visscher 19b9c89634 Move insertIfNotExist to Connection wrapper 13 years ago
Bart Visscher 58991150ab Move query statement fixup handling to Connection wrapper 13 years ago
Bart Visscher 1d5d23a1de Move limit/offset handling to Connection wrapper 13 years ago
Bart Visscher a48e9c488b Move prepared query cache handling to Connection wrapper 13 years ago
Bart Visscher e3c5fea989 Move lastInsertId to adapter classes 13 years ago
Bart Visscher cd98ff1eaf Move db prefix handling to Connection wrapper 13 years ago
Bart Visscher 66a215651b Create DB Connection wrapper and DB\Adapter* classes 13 years ago
Bart Visscher 62ce3a5613 Only close db connection when disconnecting, keep the connection object 13 years ago
Thomas Mueller 24283425a6 fixing UNIX_TIMESTAMP() for mssql 13 years ago
Jörn Friedrich Dreyer 212ea0508d update comment 13 years ago
Jörn Friedrich Dreyer 00987feda1 fix insertIfNotExist return value, update doc and corresponding test 13 years ago
Thomas Mueller 66e1eaac93 isError should detect a PEAR_Error even if the backend is PDO. 13 years ago
Jörn Friedrich Dreyer e62eb2e8d1 correctly handle error results of PDO and MDB2 backends 13 years ago
Bart Visscher b04e09a901 Move DoctrineStatementWrapper to its own file 13 years ago
Bart Visscher 6145e61718 Remove deadcode 13 years ago
Thomas Mueller 10951f9bd5 adding PHPDoc 13 years ago
Jörn Friedrich Dreyer 45c897acf3 one if less 13 years ago
Bart Visscher a9ee15cf40 Use Doctrine platform to add limit and offset to query 13 years ago
Jörn Friedrich Dreyer 7273b43cd5 manuall calculate unix_timestamp for oracle 13 years ago
Bart Visscher 9fa4b78ba4 Use Doctrines Oracle sequence suffix 13 years ago
Bart Visscher 159efa8bd4 OCI doesn't have a queryString 13 years ago
Bart Visscher 6300b95896 UNIX_TIMESTAMP replace for Oracle 13 years ago
Bart Visscher dca8c1cbc1 Fixes connecting to Oracle without port set 13 years ago
Jörn Friedrich Dreyer 643c8d3088 make PDOStatementWrapper return number of updated rows on INSERT, UPDATE or DELETE queries, introduces isManipulation() to guess type of query 13 years ago
Jörn Friedrich Dreyer 372f261fe3 remove unnecessary exception handling 13 years ago
Jörn Friedrich Dreyer dcdabac04d oracle does not need sequence suffix, manually set database name to allow fetching db schema, don't shutdown db - we are using utf8 to connect 13 years ago
Jörn Friedrich Dreyer f7dc07602b minor cleanup for exception handling 13 years ago
Jörn Friedrich Dreyer 86c5243be5 remove duplicate logging from db.php, now happens in entrypoints 13 years ago
Jörn Friedrich Dreyer c0bdbd9d81 introduce and use executeAudited in db.php 13 years ago
Jörn Friedrich Dreyer cbd5eb9a1a use to_char only for oracle, whitespace 13 years ago
Jörn Friedrich Dreyer eceb3c8ed5 add debug output 13 years ago
Bart Visscher 142b020d38 Remove wrong limit parameter from count query in compatibility function 13 years ago
Brice Maron 63804f4153 Change logQuery from define() to OC::Config 13 years ago
Brice Maron 2b8cf4959a Log Queries when we add a log query flag 13 years ago
Thomas Tanghus 5b66b317b1 And removing an irrelevant comment ;) 13 years ago
Thomas Tanghus 5f53145eb0 Double quotes to backticks 13 years ago
Thomas Tanghus 9d618005b6 Missing backticks. Thx @Raydiation :) 13 years ago