Commit Graph

195 Commits (d544a371bfb84f36a3b789d19d44d6694de21c48)

Author SHA1 Message Date
Thomas Tanghus 5e81016392 D'oh, why concatenate static strings. 14 years ago
Thomas Tanghus 07236800a7 Quote key for SQLite. 14 years ago
Thomas Tanghus 1c3f5ba6ef Properly prepare insertIfNotExist queries. 14 years ago
Thomas Mueller 28d2379c43 initial fix for MSSQL 14 years ago
Thomas Mueller 6f13a35513 documentation added and trying to fix minor code issues 14 years ago
Bart Visscher ee57ddd0b7 Rewrite query for numRows function for SELECT queries 14 years ago
Bart Visscher 427242cf32 Use the correct property for connection object 14 years ago
Thomas Mueller ec16853112 enable UTF-8 charset on mssql 14 years ago
Bart Visscher 34e4e490b8 Fix mssql connection parameters and correct driver for pgsql 14 years ago
Bart Visscher d7528f06df Disable query cache for Sqlite 14 years ago
Robin Appelman 47b899e0c8 Disable prepared query caching while doing an upgrade 14 years ago
Bart Visscher e97c7ae806 Change PDO Exceptions to Doctrine Exceptions 14 years ago
Bart Visscher d0d9b63ab5 Codestyle cleanup 14 years ago
Thomas Mueller 102619ab87 we should never drop a database 14 years ago
Thomas Mueller 78a3625ddf final adoptions for mssql connectivity 14 years ago
Bart Visscher ffae6f4b84 Style-fix: Breakup long lines 14 years ago
Bart Visscher 2d6d0a4ad4 Whitespace indent fixes 14 years ago
Administrator 4e5a3fbcaf - Fixed indentations. 14 years ago
Administrator 41ec976fd7 Bugfixes and cleanup MS SQL Server installation 14 years ago
Tobias Ramforth d577f790c8 Added MS SQL Server support 14 years ago
Michael Gapczynski 5136f6d818 Make database connection error messages less verbose 14 years ago
Thomas Mueller d58cee2f76 returning http status code 503 in case connecting to the database failed 14 years ago
Thomas Mueller dea77b7610 cached queries need to be reset on schema change because they become invalid 14 years ago
Robin Appelman f18fc1c510 Clear cached prepared statements when switching between mdb2 and pdo 14 years ago
Robin Appelman a08490364d Cache prepared statements in OC_DB 14 years ago
Michael Gapczynski d39655e126 Move template parameters around so database error page is properly rendered 14 years ago
Michael Gapczynski f6426cee04 Tweak failure message and throw exceptions from updateDbFromStructure() 14 years ago
Bart Visscher f39454ed12 Fix "Line indented incorrectly" 14 years ago
Robin Appelman 65e4dc183c dont handle database exception in OC_DB 14 years ago
Bart Visscher 8bb62e74bd Remove other database implementations from OC_DB 14 years ago
Frank Karlitschek e450933650 remove left over tag 14 years ago
Frank Karlitschek 0f61816278 A new function to create nice error page. And use it for fatal db errors 14 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 ;-) 14 years ago
Robin Appelman 95340a9e67 use lastval() to get the insert id in postgesql 14 years ago
Thomas Tanghus d809efc1e5 Change insertIfNotExist() for sqlite. Not fast, but more reliable than previous attempt. 14 years ago
Thomas Tanghus 42b871dcf1 Correct SQL syntax. 14 years ago
Felix Moeller 30d7993e01 Checkstyle fixes: NoSpaceAfterComma 14 years ago
Felix Moeller afadf93d31 Checkstyle: many fixes 14 years ago
Thomas Tanghus 2456401672 Remove redundant class wrapping. 14 years ago
Thomas Tanghus 10e29da8be Use self::prepare() instead of self::$connection->prepare. 14 years ago
Thomas Tanghus 0e4ed2887c Return result from OC_DB::insertIfNotExist(). 14 years ago
Sam Tuke 8b01286a5d Merged branch 'master' 14 years ago
Bart Visscher 4af5b016cc Whitespace cleanup 14 years ago
Bart Visscher 5686183e43 Use Doctrine for schema changes 14 years ago
Bart Visscher 24b10be762 Basic support for Doctrine\DBAL 14 years ago
Bart Visscher 351f724193 whitespace fixes 14 years ago
Björn Schießle 2bd4035076 $CONFIG_DBTYPE was never assigned but used in this function 14 years ago
Jörn Friedrich Dreyer dc116b994d reenable hack to use CURRENT_TIMESTAMP for postgresql when creating the database, fixes oc-1852 14 years ago
Robin Appelman f71f731f1c fix phpdoc and handle some edges cases better in oc_db 14 years ago
Lukas Reschke 80aa44565b Sanitize user input 14 years ago