summaryrefslogtreecommitdiffstats
path: root/lib/db.php
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Merge pull request #556 from owncloud/postgres_insert_idThomas Müller2012-11-241-5/+12
|\ | | | | use lastval() to get the insert id in postgesql
| * use lastval() to get the insert id in postgesqlRobin Appelman2012-11-231-5/+12
| |
* | remove left over tagFrank Karlitschek2012-11-241-1/+1
| |
* | A new function to create nice error page. And use it for fatal db errorsFrank Karlitschek2012-11-241-40/+8
| |
* | prettier error output. Let´s see how many more low hanging fruits I find on ↵Frank Karlitschek2012-11-231-9/+38
|/ | | | my way to the real bug that I want to fix ;-)
* Change insertIfNotExist() for sqlite. Not fast, but more reliable than ↵Thomas Tanghus2012-11-121-12/+36
| | | | previous attempt.
* Correct SQL syntax.Thomas Tanghus2012-11-121-1/+1
|
* Merge branch 'master' of github.com:owncloud/core into vcategories_dbThomas Tanghus2012-11-051-2/+2
|\ | | | | | | | | Conflicts: lib/vcategories.php
| * Checkstyle fixes: NoSpaceAfterCommaFelix Moeller2012-11-041-2/+2
| |
* | Merge branch 'master' of github.com:owncloud/core into vcategories_dbThomas Tanghus2012-11-041-3/+3
|\| | | | | | | | | Conflicts: lib/vcategories.php
| * Checkstyle: many fixesFelix Moeller2012-11-021-3/+3
| |