Bart Visscher
|
7af774cc98
|
Merge branch 'master' into doctrine
Conflicts:
lib/db.php
|
2013-03-10 11:30:33 +01:00 |
Bart Visscher
|
d7528f06df
|
Disable query cache for Sqlite
|
2013-02-27 22:32:39 +01:00 |
Robin Appelman
|
47b899e0c8
|
Disable prepared query caching while doing an upgrade
|
2013-02-26 22:41:48 +01:00 |
Bart Visscher
|
e97c7ae806
|
Change PDO Exceptions to Doctrine Exceptions
|
2013-02-25 08:27:23 +01:00 |
Bart Visscher
|
d0d9b63ab5
|
Codestyle cleanup
|
2013-02-25 08:27:23 +01:00 |
Bart Visscher
|
c8ec1bd2a6
|
Merge branch 'master' into doctrine
Conflicts:
lib/base.php
lib/db.php
|
2013-02-25 08:24:59 +01:00 |
Thomas Mueller
|
2675290325
|
Merge branch 'master' into master-sqlserver
|
2013-02-18 11:39:04 +01:00 |
Thomas Mueller
|
102619ab87
|
we should never drop a database
|
2013-02-15 08:22:31 +01:00 |
Thomas Mueller
|
4b80466880
|
Merge branch 'master' into master-sqlserver
Conflicts:
lib/db.php
lib/files/cache/cache.php
lib/files/cache/legacy.php
lib/setup.php
|
2013-02-14 22:54:48 +01:00 |
Thomas Mueller
|
78a3625ddf
|
final adoptions for mssql connectivity
|
2013-02-14 21:59:24 +01:00 |
Bart Visscher
|
ffae6f4b84
|
Style-fix: Breakup long lines
|
2013-02-14 08:38:37 +01:00 |
Bart Visscher
|
2d6d0a4ad4
|
Whitespace indent fixes
|
2013-02-14 08:36:26 +01:00 |
Administrator
|
4e5a3fbcaf
|
- Fixed indentations.
- 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.
|
2013-02-10 14:08:00 +01:00 |
Administrator
|
41ec976fd7
|
Bugfixes and cleanup MS SQL Server installation
|
2013-02-10 13:07:59 +01:00 |
Tobias Ramforth
|
d577f790c8
|
Added MS SQL Server support
|
2013-02-08 00:00:51 +01:00 |
Michael Gapczynski
|
9eecb91338
|
Merge pull request #1113 from owncloud/fix-issue-1085
Fix rendering of database connection error page
|
2013-01-22 14:38:44 -08:00 |
Michael Gapczynski
|
5136f6d818
|
Make database connection error messages less verbose
|
2013-01-21 22:53:32 -05:00 |
Thomas Mueller
|
d58cee2f76
|
returning http status code 503 in case connecting to the database failed
|
2013-01-21 14:57:33 +01:00 |
Thomas Mueller
|
dea77b7610
|
cached queries need to be reset on schema change because they become invalid
fixes: https://github.com/owncloud/apps/issues/468
|
2013-01-20 22:46:26 +01:00 |
Robin Appelman
|
f18fc1c510
|
Clear cached prepared statements when switching between mdb2 and pdo
|
2013-01-16 01:12:13 +01:00 |
Robin Appelman
|
a08490364d
|
Cache prepared statements in OC_DB
|
2013-01-15 20:21:06 +01:00 |
Michael Gapczynski
|
d39655e126
|
Move template parameters around so database error page is properly rendered
|
2013-01-07 14:15:51 -05:00 |
Michael Gapczynski
|
f6426cee04
|
Tweak failure message and throw exceptions from updateDbFromStructure()
|
2013-01-05 12:13:36 -05:00 |
Bart Visscher
|
f39454ed12
|
Fix "Line indented incorrectly"
|
2012-12-15 00:43:46 +01:00 |
Robin Appelman
|
65e4dc183c
|
dont handle database exception in OC_DB
give the caller the option to handle the exception
|
2012-12-07 16:09:29 +01:00 |
Bart Visscher
|
89cd8a3fc7
|
Merge branch 'master' into doctrine
Conflicts:
lib/base.php
lib/db.php
|
2012-12-07 11:35:57 +01:00 |
Bart Visscher
|
8bb62e74bd
|
Remove other database implementations from OC_DB
|
2012-12-06 17:26:01 +01:00 |
Thomas Müller
|
f81321af3d
|
Merge pull request #556 from owncloud/postgres_insert_id
use lastval() to get the insert id in postgesql
|
2012-11-24 22:55:33 -08:00 |
Frank Karlitschek
|
e450933650
|
remove left over tag
|
2012-11-24 18:25:05 +01:00 |
Frank Karlitschek
|
0f61816278
|
A new function to create nice error page. And use it for fatal db errors
|
2012-11-24 18:07:26 +01:00 |
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 ;-)
|
2012-11-23 16:40:28 +01:00 |
Robin Appelman
|
95340a9e67
|
use lastval() to get the insert id in postgesql
|
2012-11-23 00:23:27 +01:00 |
Thomas Tanghus
|
d809efc1e5
|
Change insertIfNotExist() for sqlite. Not fast, but more reliable than previous attempt.
|
2012-11-12 23:34:02 +01:00 |
Thomas Tanghus
|
42b871dcf1
|
Correct SQL syntax.
|
2012-11-12 18:45:56 +01:00 |
Thomas Tanghus
|
1147dc9774
|
Merge branch 'master' of github.com:owncloud/core into vcategories_db
Conflicts:
lib/vcategories.php
|
2012-11-05 12:06:59 +01:00 |
Thomas Tanghus
|
e6a7bba095
|
Merge branch 'master' of github.com:owncloud/core into vcategories_db
Conflicts:
lib/vcategories.php
|
2012-11-04 12:31:06 +01:00 |
Felix Moeller
|
30d7993e01
|
Checkstyle fixes: NoSpaceAfterComma
|
2012-11-04 11:10:46 +01:00 |
Felix Moeller
|
afadf93d31
|
Checkstyle: many fixes
|
2012-11-02 19:53:02 +01:00 |
Thomas Tanghus
|
2456401672
|
Remove redundant class wrapping.
|
2012-10-19 18:11:13 +02:00 |
Thomas Tanghus
|
10e29da8be
|
Use self::prepare() instead of self::$connection->prepare.
|
2012-10-19 17:21:23 +02:00 |
Thomas Tanghus
|
0e4ed2887c
|
Return result from OC_DB::insertIfNotExist().
|
2012-10-19 13:20:08 +02:00 |
Thomas Tanghus
|
9c9f5ef2d6
|
Merge branch 'master' of github.com:owncloud/core into vcategories_db
|
2012-10-15 21:41:38 +02:00 |
Bart Visscher
|
4af5b016cc
|
Whitespace cleanup
|
2012-10-14 21:04:08 +02:00 |
Bart Visscher
|
5686183e43
|
Use Doctrine for schema changes
|
2012-10-13 15:17:21 +02:00 |
Bart Visscher
|
24b10be762
|
Basic support for Doctrine\DBAL
|
2012-10-13 15:17:21 +02:00 |
Bart Visscher
|
351f724193
|
whitespace fixes
|
2012-10-12 15:47:41 +02:00 |
Thomas Tanghus
|
7a30f46543
|
Merge branch 'master' of github.com:owncloud/core into vcategories_db
|
2012-10-10 23:00:46 +02:00 |
Björn Schießle
|
2bd4035076
|
$CONFIG_DBTYPE was never assigned but used in this function
|
2012-10-09 11:17:10 +02:00 |
Jörn Friedrich Dreyer
|
dc116b994d
|
reenable hack to use CURRENT_TIMESTAMP for postgresql when creating the database, fixes oc-1852
TODO for OC5: use CURRENT_TIMESTAMP for all databases. mysql supports it as a default for DATETIME since 5.6.5 [1]
as a fallback we could use <default>0000-01-01 00:00:00</default> everywhere
[1] http://bugs.mysql.com/bug.php?id=27645
http://dev.mysql.com/doc/refman/5.0/en/timestamp-initialization.html
http://www.postgresql.org/docs/8.1/static/functions-datetime.html
http://www.sqlite.org/lang_createtable.html
http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions037.htm
|
2012-10-08 17:24:15 +02:00 |
Thomas Tanghus
|
241862756e
|
Merge branch 'master' of github.com:owncloud/core into vcategories_db
|
2012-09-30 06:51:40 +02:00 |