Bart Visscher
|
d563367b0f
|
More style fixes
|
2013-08-07 22:22:33 +02:00 |
|
Bart Visscher
|
83988a5906
|
Fix stupid bug
|
2013-08-07 21:01:31 +02:00 |
|
Bart Visscher
|
0783267e2c
|
Move query processing after the check for prepared statement cache
|
2013-08-07 18:21:49 +02:00 |
|
Bart Visscher
|
2cc94cbc73
|
Style fixes
|
2013-08-07 18:17:37 +02:00 |
|
Robin Appelman
|
95a959b10b
|
merge master into doctrine-object
|
2013-08-06 15:43:58 +02:00 |
|
Robin Appelman
|
2af27434a4
|
merge master into doctrine-object
|
2013-08-02 19:53:04 +02:00 |
|
Robin Appelman
|
258e54182a
|
remove invalid type hinting and cleanup namespaces a bit
|
2013-08-02 15:09:50 +02:00 |
|
Bart Visscher
|
59c5529a2b
|
Rename \OC\DB\Schema to \OC\DB\MDB2SchemaManager
|
2013-08-02 13:19:27 +02:00 |
|
Bart Visscher
|
9432885428
|
Change OC_DB_Schema to use DI for db connection object
|
2013-08-02 13:14:18 +02:00 |
|
Robin Appelman
|
d6c56b584a
|
make MDB2Schema reader non static
|
2013-07-29 16:33:00 +02:00 |
|
Bart Visscher
|
793ff0fec9
|
Fix lastInsertId for OCI8 adapter
|
2013-07-23 22:16:04 +02:00 |
|
Bart Visscher
|
3eb5fff02a
|
Add documentation to OC\DB\adapter class
|
2013-07-23 18:09:42 +02:00 |
|
Robin Appelman
|
499a01f179
|
use ===
|
2013-07-22 17:41:33 +02:00 |
|
Robin Appelman
|
b073a34e77
|
add support for the <primary/> element within field definitions
|
2013-07-22 16:25:07 +02:00 |
|
Robin Appelman
|
dc272e6e20
|
db: cast default values for boolean fields to booleans
|
2013-07-22 16:24:46 +02:00 |
|
Bart Visscher
|
be7c613993
|
Fix errors from unit tests
|
2013-07-21 23:17:37 +02:00 |
|
Bart Visscher
|
b66c9098bd
|
Correct namespace of OC_ classes
|
2013-07-21 23:17:37 +02:00 |
|
Bart Visscher
|
000b5a801f
|
Move building error string to connection
|
2013-07-21 23:17:37 +02:00 |
|
Bart Visscher
|
19b9c89634
|
Move insertIfNotExist to Connection wrapper
Real implementation is in DB\Adapter* classes
|
2013-07-21 23:17:37 +02:00 |
|
Bart Visscher
|
58991150ab
|
Move query statement fixup handling to Connection wrapper
|
2013-07-21 23:17:37 +02:00 |
|
Bart Visscher
|
1d5d23a1de
|
Move limit/offset handling to Connection wrapper
|
2013-07-21 23:17:37 +02:00 |
|
Bart Visscher
|
a48e9c488b
|
Move prepared query cache handling to Connection wrapper
|
2013-07-21 23:17:36 +02:00 |
|
Bart Visscher
|
e3c5fea989
|
Move lastInsertId to adapter classes
|
2013-07-21 23:17:36 +02:00 |
|
Bart Visscher
|
cd98ff1eaf
|
Move db prefix handling to Connection wrapper
|
2013-07-21 23:17:36 +02:00 |
|
Bart Visscher
|
66a215651b
|
Create DB Connection wrapper and DB\Adapter* classes
|
2013-07-21 23:17:36 +02:00 |
|
Bart Visscher
|
e2b6781cf9
|
Tweaks to the MDB2SchemaReader
|
2013-07-18 21:07:56 +02:00 |
|
Bart Visscher
|
5549c77ec5
|
Merge branch 'master' into doctrine
Conflicts:
3rdparty
lib/db.php
lib/setup.php
tests/lib/db.php
tests/lib/dbschema.php
|
2013-07-13 12:01:14 +02:00 |
|
Bart Visscher
|
ab2037ab5d
|
Only change integer type when the length is set
|
2013-07-05 22:05:16 +02:00 |
|
Bart Visscher
|
b8a7e97301
|
Add comment to column definition
|
2013-07-05 21:42:37 +02:00 |
|
Bart Visscher
|
b04e09a901
|
Move DoctrineStatementWrapper to its own file
|
2013-06-28 11:48:38 +02:00 |
|
Bart Visscher
|
6145e61718
|
Remove deadcode
|
2013-06-28 11:42:23 +02:00 |
|
Thomas Mueller
|
10951f9bd5
|
adding PHPDoc
|
2013-06-27 23:34:36 +02:00 |
|
Bart Visscher
|
fae3cf1a87
|
Always quote db identifiers in OC_DB_MDB2SchemaReader
|
2013-06-24 22:38:19 +02:00 |
|
Bart Visscher
|
144a8eb01f
|
Quote tablenames
|
2013-06-24 22:38:19 +02:00 |
|
Bart Visscher
|
d1b76f1b88
|
Fix not null with empty default
|
2013-06-24 22:37:07 +02:00 |
|
Bart Visscher
|
d89e748926
|
Use supplied tablename
|
2013-05-03 16:02:53 +02:00 |
|
Thomas Mueller
|
6f13a35513
|
documentation added and trying to fix minor code issues
|
2013-03-19 18:52:54 +01:00 |
|
Bart Visscher
|
d44f457d2d
|
integer length 1 is not only used for boolean values
|
2013-03-17 17:34:35 +01:00 |
|
Bart Visscher
|
82f0bcce30
|
Also fix sequences in schemachange
|
2013-03-17 17:28:36 +01:00 |
|
Bart Visscher
|
947e03aab5
|
Quote index columns that need it
|
2013-03-17 17:00:07 +01:00 |
|
Bart Visscher
|
2866376f34
|
Fix handling of empty defaults in schema
|
2013-03-17 15:25:41 +01:00 |
|
Bart Visscher
|
e9213a6711
|
Change var_dumps to exceptions
|
2013-03-17 14:15:36 +01:00 |
|
Bart Visscher
|
8fb36c93f5
|
Add MDB2 compatible database schema writer
|
2012-10-26 10:51:21 +02:00 |
|
Bart Visscher
|
5686183e43
|
Use Doctrine for schema changes
|
2012-10-13 15:17:21 +02:00 |
|