Commit Graph

91 Commits (fb5d0db0376f8f75fe6745fd1c94d5b325be4f41)

Author SHA1 Message Date
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 ;-) 12 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
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
Jörn Friedrich Dreyer e31dfb643a add getErrorMessage to OC_DB 13 years ago
Thomas Mueller 3829460ab8 adding space between) and { 13 years ago
Bart Visscher 5e55b4d6e7 Whitespace fixes in lib 13 years ago
Thomas Müller 24977d0fd0 Respect coding style 13 years ago
Robin Appelman 3c784ede83 use str_ireplace instead of duplicate str_replace 13 years ago
Robin Appelman 828ca2ba36 translate UNIX_TIMESTAMP() into sqlite and pgsql equivilents 13 years ago
Robin Appelman 6d48f3fab8 we still need this for pgsql 13 years ago
Bart Visscher db18218a1b Space before tab fixes 13 years ago
Bart Visscher 52f2e7112e Whitespace fixes in lib 13 years ago
Jörn Friedrich Dreyer 3b83c7fa74 update now(), current_timestamp and backtick replacement 13 years ago
jfd 379f27ed03 fix missing $ 13 years ago
Jörn Friedrich Dreyer fa3497f6ed add backticks to SQL, use limit parameter instead of LIMIT SQL 13 years ago
Jörn Friedrich Dreyer e13f381189 add limit support to OC_DB & OCP/DB 13 years ago
Jörn Friedrich Dreyer 795e78809f add oracle to install & setup 13 years ago
Georg Ehrke 16928f4d59 fix spelling fail 13 years ago
Robin Appelman 856d9c0b54 some indention fixes 13 years ago
Robin Appelman 48306a3c4f fix unused variables 13 years ago
Brice Maron 3b09aa8578 Correct Postgresql connection with space in password. Work around php bug 13 years ago
Tom Needham b2cb7d54d1 Fixed app path 13 years ago
Frank Karlitschek a4c47c674d write sql errors into the error log for better debugging 13 years ago
Brice Maron b5e3e150eb Correction of path looking for apps and css 13 years ago
Michael Gapczynski e8dd86ce0d Revert "Set default charset to utf-8." 13 years ago
Thomas Tanghus 709dbd82a6 Set default charset to utf-8. 13 years ago
Frank Karlitschek a945fa10a6 update copyright 13 years ago
Robin Appelman aac9629e88 add support for custom ports for mysql/pgsql by adding :portnumber to the database host 13 years ago
Robin Appelman 8d475debe0 additional logging when db upgrade fails 13 years ago
Brice Maron 5b7c69f978 Change sqlite escaping of identifier to double quote. Fixing some issues 13 years ago
Bart Visscher 402c6da968 Typo fix (breif->brief) 13 years ago
Bart Visscher 4976daca7a Fix default database type string 13 years ago
Robin Appelman 721311c909 some minor optimizations 13 years ago
Grundik 7e7de25710 UTF8 locale by default 13 years ago