summaryrefslogtreecommitdiffstats
path: root/lib/private/db
Commit message (Collapse)AuthorAgeFilesLines
* Do not use digits in random index namesVictor Dubiniuk2015-06-091-1/+1
|
* replace 'oc_' with dbtableprefix form config for temporary table names and ↵martin-rueegg2015-05-181-2/+2
| | | | indexes
* Using TRANSACTION_READ_COMMITTEDThomas Müller2015-04-131-0/+2
|
* Merge pull request #14497 from owncloud/kill-substr-mssql-stable8Lukas Reschke2015-03-261-102/+0
|\ | | | | [stable8] Remove hacky Substring support for MSSQL
| * Remove hacky Substring support for MSSQLLukas Reschke2015-02-251-102/+0
| | | | | | | | Substring() is not required for the core functionality and this allows us to get rid of a huge hack...
* | SQLite autoincrement fix backportVincent Petry2015-03-262-0/+36
| | | | | | | | | | | | | | | | | | Add custom sqlite platform to set auto increment Add repair step to fix SQLite autoincrement Force Doctrine to generate alter table SQL statements for SQLite to make sure the code from OCSqlitePlatform is triggered.
* | Also add a note that clob does not work in the compare arrayJoas Schilling2015-03-163-0/+3
| | | | | | | | | | Conflicts: lib/private/appframework/db/db.php
* | Also use all keys for an empty array, just in caseJoas Schilling2015-03-162-2/+2
| |
* | Fix doc blocks of insertIfNotExists() methodJoas Schilling2015-03-163-16/+24
| | | | | | | | | | Conflicts: lib/private/appframework/db/db.php
* | let insertIfNotExist() throw the native DBALException - no need to hide the ↵Thomas Müller2015-03-164-35/+16
| | | | | | | | real exception
* | Allow specifying the compare-array for insertIfNotExists()Joas Schilling2015-03-163-10/+16
| | | | | | | | | | Conflicts: lib/private/appframework/db/db.php
* | Use an atomic implementation on sqlite for insertIfNotExist()Thomas Müller2015-03-061-33/+9
| |
* | Skip primary index if the table has oneVictor Dubiniuk2015-02-251-0/+3
|/
* Add mapping for a broken varchar type. Fixes #14247Victor Dubiniuk2015-02-181-0/+1
|
* set MySQL autocommit on connection setupThomas Müller2015-01-191-4/+9
|
* Use a special filter expression for Oracle to filter the prefix - fixes #13220Thomas Müller2015-01-125-8/+30
|
* Merge pull request #12995 from owncloud/tbelau666-masterThomas Müller2015-01-095-30/+43
|\ | | | | Use Doctrines filter by table name
| * add default for dbtableprefixMorris Jobke2014-12-233-4/+4
| |
| * use injected config object and fix typosMorris Jobke2014-12-223-10/+24
| |
| * inject \OCP\IConfig instance in migratorMorris Jobke2014-12-223-23/+13
| |
| * Use Doctrines filter by table nametbelau6662014-12-224-6/+15
| | | | | | | | | | | | | | Doctrine's SchemaManager can filter table names by regular expression. On this way it picks up only ownClouds's tables in a database. by tbelau666
* | Prevent leaking db connection info in the stacktraceRobin Appelman2015-01-061-0/+10
|/
* Change support message to be more explicit about the enterprise editionMorris Jobke2014-12-201-1/+1
|
* Split mapping from Access and Helper classes into it's own. Fully test them, ↵Arthur Schiwon2014-12-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | too. remove unused methods split mapping methods off from Access class fix DB query handling move 'clear mapping' methods from static helper to new mapping class add tests test directly with DB finishing tests and fix return value from setDNbyUUID add corresponding class for groups and make abstract test class neutral. helper tests is now obsolete as the tested functions were moved to the new mapper class. add missing info to PHPDoc add unmap method fix namespaces fix test inheritance PHPDoc and a small code restructure for scrutinizer, no effective changes PostgreSQL does not accept LIMIT in DELETE queries phpdoc fixes, no code changes
* Quote identifiers for oracleRobin Appelman2014-12-091-0/+27
|
* Add tableExists to public db apiRobin Appelman2014-12-091-0/+12
|
* Add dropTable to IDBConnectionRobin Appelman2014-12-091-0/+13
|
* Extract interaction with config.php into SystemConfigMorris Jobke2014-12-081-10/+10
| | | | | | * introduce SystemConfig to avoid DI circle (used by database connection which is itself needed by AllConfig that itself contains the methods to access the config.php which then would need the database connection - did you get it? ;)) * use DI container and use that method in legacy code paths (for easier refactoring later) * create and use getSystemConfig instead of query() in DI container
* adding new config parameter for sqlite to specify the journal modeThomas Müller2014-11-252-2/+12
|
* drop dependency of some commands on old config objectMorris Jobke2014-11-202-7/+10
|
* Make declaration compatibleLukas Reschke2014-11-171-5/+5
| | | | Fixes #12236
* do not output DB information, and do not set headerArthur Schiwon2014-11-143-7/+28
|
* errors are already loggedArthur Schiwon2014-11-142-3/+0
|
* eliminate OC_Template::printErrorPage in database classes, fixes #12182Arthur Schiwon2014-11-143-7/+7
|
* allow passing driver options, fixes #11718Jörn Friedrich Dreyer2014-10-271-0/+7
|
* Fix PHPDoc and remove explicit type hintLukas Reschke2014-10-241-2/+2
|
* Add type hinting to functionsLukas Reschke2014-10-241-1/+1
| | | | It's only reasonable to have proper type hinting here which might even help us to catch bugs.
* Use function outside of loopLukas Reschke2014-10-241-1/+2
| | | | Otherwise the function is executed n times which is a lot of overhead
* Merge pull request #10985 from owncloud/db-cleanupThomas Müller2014-10-234-139/+43
|\ | | | | Cleanup database handling
| * Bit more cleanupRobin Appelman2014-10-221-2/+3
| |
| * Move creating the database connection to the server containerRobin Appelman2014-10-221-0/+37
| |
| * Remove implicit prepared statement cache and get the connection from the ↵Robin Appelman2014-10-222-28/+1
| | | | | | | | server container in \OC_DB
| * Remove \OC\DB\ConnectionWrapper, have \OC\DB\Connection implement ↵Robin Appelman2014-10-222-109/+2
| | | | | | | | \OCP\IDBConnection directly instead
* | Merge pull request #9586 from ↵Jörn Friedrich Dreyer2014-10-224-13/+49
|\ \ | |/ |/| | | | | owncloud/enhanced-sql-script-generation-oracle-master Special treatment for Oracle
| * Special treatment for OracleThomas Müller2014-10-164-13/+49
| |
* | Add PHPDoc about sanitization of "insertIfNotExist"Lukas Reschke2014-10-171-1/+1
|/ | | | Let's document this potential pitfall properly.
* adding 'smallint unsigned' to type mapping for sqliteThomas Müller2014-09-201-0/+1
|
* Fix ILIKE without wildcards for oracleRobin Appelman2014-09-181-1/+1
|
* Implement ILIKE for sqliteRobin Appelman2014-09-171-1/+1
|
* Make sqlite LIKE case sensitive on defaultRobin Appelman2014-09-172-0/+45
|