Commit Graph

144 Commits (bbad1ad21ef703ccc8b230dfd79b83f76ab16d41)

Author SHA1 Message Date
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
Jörn Friedrich Dreyer 45c897acf3 one if less 13 years ago
Jörn Friedrich Dreyer 7273b43cd5 manuall calculate unix_timestamp for oracle 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
Thomas Tanghus 5e81016392 D'oh, why concatenate static strings. 13 years ago
Thomas Tanghus 07236800a7 Quote key for SQLite. 13 years ago
Thomas Tanghus 1c3f5ba6ef Properly prepare insertIfNotExist queries. 13 years ago
Thomas Mueller ec16853112 enable UTF-8 charset on mssql 13 years ago
Bart Visscher d7528f06df Disable query cache for Sqlite 13 years ago
Robin Appelman 47b899e0c8 Disable prepared query caching while doing an upgrade 13 years ago
Thomas Mueller 102619ab87 we should never drop a database 13 years ago
Thomas Mueller 78a3625ddf final adoptions for mssql connectivity 13 years ago
Bart Visscher ffae6f4b84 Style-fix: Breakup long lines 13 years ago
Bart Visscher 2d6d0a4ad4 Whitespace indent fixes 13 years ago
Administrator 4e5a3fbcaf - Fixed indentations. 13 years ago
Administrator 41ec976fd7 Bugfixes and cleanup MS SQL Server installation 13 years ago
Tobias Ramforth d577f790c8 Added MS SQL Server support 13 years ago
Michael Gapczynski 5136f6d818 Make database connection error messages less verbose 13 years ago
Thomas Mueller d58cee2f76 returning http status code 503 in case connecting to the database failed 13 years ago
Thomas Mueller dea77b7610 cached queries need to be reset on schema change because they become invalid 13 years ago
Robin Appelman f18fc1c510 Clear cached prepared statements when switching between mdb2 and pdo 13 years ago
Robin Appelman a08490364d Cache prepared statements in OC_DB 13 years ago
Michael Gapczynski d39655e126 Move template parameters around so database error page is properly rendered 13 years ago
Michael Gapczynski f6426cee04 Tweak failure message and throw exceptions from updateDbFromStructure() 13 years ago
Bart Visscher f39454ed12 Fix "Line indented incorrectly" 13 years ago
Robin Appelman 65e4dc183c dont handle database exception in OC_DB 13 years ago
Frank Karlitschek e450933650 remove left over tag 13 years ago
Frank Karlitschek 0f61816278 A new function to create nice error page. And use it for fatal db errors 13 years ago
Frank Karlitschek fb5d0db037 prettier error output. Let´s see how many more low hanging fruits I find on my way to the real bug that I want to fix ;-) 13 years ago
Robin Appelman 95340a9e67 use lastval() to get the insert id in postgesql 13 years ago
Thomas Tanghus d809efc1e5 Change insertIfNotExist() for sqlite. Not fast, but more reliable than previous attempt. 13 years ago
Thomas Tanghus 42b871dcf1 Correct SQL syntax. 13 years ago
Felix Moeller 30d7993e01 Checkstyle fixes: NoSpaceAfterComma 13 years ago
Felix Moeller afadf93d31 Checkstyle: many fixes 13 years ago