Commit Graph

125 Commits (e824c6cffa5408a42b218f943a1e017cf598cedb)

Author SHA1 Message Date
Brice Maron 63804f4153 Change logQuery from define() to OC::Config 12 years ago
Brice Maron 2b8cf4959a Log Queries when we add a log query flag 12 years ago
Thomas Tanghus 5b66b317b1 And removing an irrelevant comment ;) 12 years ago
Thomas Tanghus 5f53145eb0 Double quotes to backticks 12 years ago
Thomas Tanghus 9d618005b6 Missing backticks. Thx @Raydiation :) 12 years ago
Thomas Tanghus 5e81016392 D'oh, why concatenate static strings. 12 years ago
Thomas Tanghus 07236800a7 Quote key for SQLite. 12 years ago
Thomas Tanghus 1c3f5ba6ef Properly prepare insertIfNotExist queries. 12 years ago
Thomas Mueller ec16853112 enable UTF-8 charset on mssql 12 years ago
Bart Visscher d7528f06df Disable query cache for Sqlite 12 years ago
Robin Appelman 47b899e0c8 Disable prepared query caching while doing an upgrade 12 years ago
Thomas Mueller 102619ab87 we should never drop a database 12 years ago
Thomas Mueller 78a3625ddf final adoptions for mssql connectivity 12 years ago
Bart Visscher ffae6f4b84 Style-fix: Breakup long lines 12 years ago
Bart Visscher 2d6d0a4ad4 Whitespace indent fixes 12 years ago
Administrator 4e5a3fbcaf - Fixed indentations. 12 years ago
Administrator 41ec976fd7 Bugfixes and cleanup MS SQL Server installation 12 years ago
Tobias Ramforth d577f790c8 Added MS SQL Server support 12 years ago
Michael Gapczynski 5136f6d818 Make database connection error messages less verbose 12 years ago
Thomas Mueller d58cee2f76 returning http status code 503 in case connecting to the database failed 12 years ago
Thomas Mueller dea77b7610 cached queries need to be reset on schema change because they become invalid 12 years ago
Robin Appelman f18fc1c510 Clear cached prepared statements when switching between mdb2 and pdo 12 years ago
Robin Appelman a08490364d Cache prepared statements in OC_DB 12 years ago
Michael Gapczynski d39655e126 Move template parameters around so database error page is properly rendered 12 years ago
Michael Gapczynski f6426cee04 Tweak failure message and throw exceptions from updateDbFromStructure() 12 years ago
Bart Visscher f39454ed12 Fix "Line indented incorrectly" 12 years ago
Robin Appelman 65e4dc183c dont handle database exception in OC_DB 12 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
Thomas Tanghus 2456401672 Remove redundant class wrapping. 13 years ago
Thomas Tanghus 10e29da8be Use self::prepare() instead of self::$connection->prepare. 13 years ago
Thomas Tanghus 0e4ed2887c Return result from OC_DB::insertIfNotExist(). 13 years ago
Sam Tuke 8b01286a5d Merged branch 'master' 13 years ago
Bart Visscher 4af5b016cc Whitespace cleanup 13 years ago
Bart Visscher 351f724193 whitespace fixes 13 years ago
Björn Schießle 2bd4035076 $CONFIG_DBTYPE was never assigned but used in this function 13 years ago
Jörn Friedrich Dreyer dc116b994d reenable hack to use CURRENT_TIMESTAMP for postgresql when creating the database, fixes oc-1852 13 years ago
Robin Appelman f71f731f1c fix phpdoc and handle some edges cases better in oc_db 13 years ago
Lukas Reschke 80aa44565b Sanitize user input 13 years ago
Jörn Friedrich Dreyer 59a00f95c3 use AL32UTF8 charset to connect to oracle, fixes file name encoding problems 13 years ago
Jörn Friedrich Dreyer 9da150cd3b use user name as db name for oracle connection made with service name 13 years ago
Thomas Tanghus ffe04182a8 Added methods OC_DB::insertIfNotExist() and OCP\DB::insertIfNotExist(). 13 years ago
Jörn Friedrich Dreyer d3553ce33d correctly calculate the MDB2 portability 13 years ago
Jörn Friedrich Dreyer c7054f374c log details for an error when upgrading the schema 13 years ago