summaryrefslogtreecommitdiffstats
path: root/lib/db.php
Commit message (Collapse)AuthorAgeFilesLines
* always be verbose when logging db errorJörn Friedrich Dreyer2014-01-211-5/+3
|
* Merge pull request #5725 from owncloud/fix_enabling_apps_on_oracle_cornercaseThomas Müller2013-11-111-3/+23
|\ | | | | fix enabling apps for oracle - cornercase
| * add missing argument $queryThomas Müller2013-11-081-1/+1
| |
| * use empty to check for null and ''Jörn Friedrich Dreyer2013-11-081-2/+2
| |
| * fix enabling apps for oracle cornercaseJörn Friedrich Dreyer2013-11-061-3/+23
| |
* | add debug output related to app enablementJörn Friedrich Dreyer2013-11-061-2/+7
|/
* Merge pull request #5640 from owncloud/backport_executeaudited_stable5Thomas Müller2013-10-311-2/+87
|\ | | | | Backport executeaudited stable5
| * adding second argument to DatabaseExceptionThomas Müller2013-10-311-6/+17
| | | | | | | | | | updated some PHPDoc comments fixing undefined variable in line 789 - actually unrelated but well ....
| * backport executeAudited()Jörn Friedrich Dreyer2013-10-301-1/+75
| |
* | disable MDB2_PORTABILITY_RTRIMJörn Friedrich Dreyer2013-10-311-1/+1
|/ | | | | fixes dnd into folders ending in whitespace on oracle unnecessary portability option because only affects fixed length character columns. luckily we dont have that kind of columns: the text datatype is transformed into varchar by MDB2
* Do not pass PDO::FETCH_NUM (integer 3) as limit parameter to OC_DB::prepare().Andreas Fischer2013-10-081-1/+1
|
* Merge pull request #4179 from owncloud/ldap_oracle_fixesblizzz2013-08-061-13/+57
|\ | | | | (not only) LDAP Oracle compatiblity
| * fix logical mistake in version comparisonArthur Schiwon2013-08-011-1/+1
| |
| * Oracle compat: enable appconfig.configvalue to store empty strings (now working)Arthur Schiwon2013-07-231-13/+57
| |
| * Revert "Oracle compat: enable appconfig.configvalue to store empty strings"Arthur Schiwon2013-07-231-53/+13
| | | | | | | | This reverts commit 6c1e68acd8fbb98f8fbd54a38860481b4971bc28.
| * Oracle compat: enable appconfig.configvalue to store empty stringsArthur Schiwon2013-07-231-13/+53
| |
* | convert 0000-00-00 00:00:00 to CURRENT_TIMESTAMP when setting up db on oracleJörn Friedrich Dreyer2013-08-021-1/+1
| |
* | Use prefixes while reading old Db structureVictor Dubiniuk2013-08-011-1/+1
|/
* fixing UNIX_TIMESTAMP() for mssqlThomas Mueller2013-07-171-5/+5
| | | | | Conflicts: lib/db.php
* fix insertIfNotExist return value, update doc and corresponding testJörn Friedrich Dreyer2013-07-051-12/+27
|
* manuall calculate unix_timestamp for oracleJörn Friedrich Dreyer2013-07-041-0/+1
|
* one if lessJörn Friedrich Dreyer2013-07-041-5/+2
|
* make PDOStatementWrapper return number of updated rows on INSERT, UPDATE or ↵Jörn Friedrich Dreyer2013-07-041-15/+65
| | | | DELETE queries, introduces isManipulation() to guess type of query
* backport oracle related changes, mostly comments, but also setup related fixesJörn Friedrich Dreyer2013-06-201-3/+13
|
* don't use sequence suffix, MDB2 handles that internallyJörn Friedrich Dreyer2013-06-141-1/+1
|
* use to_char only for oracle, whitespaceJörn Friedrich Dreyer2013-06-141-6/+6
|
* oracle fixes, missing backticks, LIMIT to paramJörn Friedrich Dreyer2013-06-141-7/+2
| | | | | Conflicts: lib/files/cache/cache.php
* Backport #2567Thomas Tanghus2013-04-221-15/+16
|
* enable UTF-8 charset on mssqlThomas Mueller2013-03-121-2/+4
| | | | disable MDB2_PORTABILITY_EMPTY_TO_NULL for mssql to allow insert of empty string to no null fields
* Disable query cache for SqliteBart Visscher2013-02-271-1/+4
|
* Disable prepared query caching while doing an upgradeRobin Appelman2013-02-261-2/+13
|
* Merge branch 'master' into master-sqlserverThomas Mueller2013-02-181-0/+3
|\
| * we should never drop a databaseThomas Mueller2013-02-151-0/+3
| |
* | Merge branch 'master' into master-sqlserverThomas Mueller2013-02-141-10/+15
|\| | | | | | | | | | | | | | | Conflicts: lib/db.php lib/files/cache/cache.php lib/files/cache/legacy.php lib/setup.php
| * Style-fix: Breakup long linesBart Visscher2013-02-141-4/+8
| |
| * Whitespace indent fixesBart Visscher2013-02-141-5/+6
| |
* | final adoptions for mssql connectivityThomas Mueller2013-02-141-0/+7
| |
* | - Fixed indentations.Administrator2013-02-101-77/+77
| | | | | | - Fixed a bug in legacy.php: there was an error that was not checked for if the table 'fscache' did not exist in the database.
* | Bugfixes and cleanup MS SQL Server installationAdministrator2013-02-101-16/+20
| |
* | Added MS SQL Server supportTobias Ramforth2013-02-081-3/+177
|/
* Merge pull request #1113 from owncloud/fix-issue-1085Michael Gapczynski2013-01-221-2/+15
|\ | | | | Fix rendering of database connection error page
| * Make database connection error messages less verboseMichael Gapczynski2013-01-211-2/+3
| |
| * returning http status code 503 in case connecting to the database failedThomas Mueller2013-01-211-0/+8
| |
| * Move template parameters around so database error page is properly renderedMichael Gapczynski2013-01-071-2/+6
| |
* | cached queries need to be reset on schema change because they become invalidThomas Mueller2013-01-201-0/+3
| | | | | | | | fixes: https://github.com/owncloud/apps/issues/468
* | Clear cached prepared statements when switching between mdb2 and pdoRobin Appelman2013-01-161-2/+4
| |
* | Cache prepared statements in OC_DBRobin Appelman2013-01-151-0/+10
|/
* Tweak failure message and throw exceptions from updateDbFromStructure()Michael Gapczynski2013-01-051-4/+6
|
* Fix "Line indented incorrectly"Bart Visscher2012-12-151-3/+3
|
* dont handle database exception in OC_DBRobin Appelman2012-12-071-10/+15
| | | | give the caller the option to handle the exception