aboutsummaryrefslogtreecommitdiffstats
path: root/lib/db.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3954 from owncloud/update_insertifnotexist_and_testThomas Müller2013-07-081-6/+3
|\ | | | | fix insertIfNotExist return value, update doc and corresponding test
| * update commentJörn Friedrich Dreyer2013-07-051-1/+1
| |
| * fix insertIfNotExist return value, update doc and corresponding testJörn Friedrich Dreyer2013-07-051-5/+2
| |
* | Merge pull request #3775 from owncloud/test_fixes_for_dbschemaThomas Müller2013-07-011-17/+24
|\ \ | | | | | | use executeAudited, add table name to assert message, skip schema changi...
| * | isError should detect a PEAR_Error even if the backend is PDO.Thomas Mueller2013-06-281-19/+23
| | | | | | | | | | | | This can happen on errors during schema migration - which is always done with MDB2
| * | correctly handle error results of PDO and MDB2 backendsJörn Friedrich Dreyer2013-06-281-3/+6
| |/
* | Merge pull request #3793 from owncloud/remove_unnecessary_exception_catch_blockThomas Müller2013-07-011-85/+64
|\ \ | |/ |/| remove unnecessary try catch blocks
| * remove unnecessary exception handlingJörn Friedrich Dreyer2013-06-201-85/+64
| |
* | Merge pull request #3799 from ↵Bart Visscher2013-06-281-15/+62
|\ \ | | | | | | | | | | | | owncloud/fix_pdo_statement_wrapper_numrows_on_modification Fix pdo statement wrapper numrows on modification
| * | one if lessJörn Friedrich Dreyer2013-06-271-5/+2
| | |
| * | make PDOStatementWrapper return number of updated rows on INSERT, UPDATE or ↵Jörn Friedrich Dreyer2013-06-241-15/+65
| |/ | | | | | | DELETE queries, introduces isManipulation() to guess type of query
* / manuall calculate unix_timestamp for oracleJörn Friedrich Dreyer2013-06-251-0/+1
|/
* oracle does not need sequence suffix, manually set database name to allow ↵Jörn Friedrich Dreyer2013-06-141-1/+12
| | | | fetching db schema, don't shutdown db - we are using utf8 to connect
* minor cleanup for exception handlingJörn Friedrich Dreyer2013-06-121-6/+2
|
* remove duplicate logging from db.php, now happens in entrypointsJörn Friedrich Dreyer2013-06-101-4/+0
|
* introduce and use executeAudited in db.phpJörn Friedrich Dreyer2013-06-101-47/+103
|
* use to_char only for oracle, whitespaceJörn Friedrich Dreyer2013-05-221-6/+6
|
* add debug outputJörn Friedrich Dreyer2013-05-221-7/+2
|
* Remove wrong limit parameter from count query in compatibility functionBart Visscher2013-04-061-1/+1
|
* Change logQuery from define() to OC::ConfigBrice Maron2013-03-301-2/+2
|
* Log Queries when we add a log query flagBrice Maron2013-03-301-1/+7
|
* And removing an irrelevant comment ;)Thomas Tanghus2013-03-261-2/+0
|
* Double quotes to backticksThomas Tanghus2013-03-261-4/+4
|
* Missing backticks. Thx @Raydiation :)Thomas Tanghus2013-03-261-1/+1
|
* D'oh, why concatenate static strings.Thomas Tanghus2013-03-261-1/+1
|
* Quote key for SQLite.Thomas Tanghus2013-03-261-1/+1
|
* Properly prepare insertIfNotExist queries.Thomas Tanghus2013-03-251-12/+15
|
* 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