Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not use digits in random index names | Victor Dubiniuk | 2015-06-09 | 1 | -1/+1 |
| | |||||
* | replace 'oc_' with dbtableprefix form config for temporary table names and ↵ | martin-rueegg | 2015-05-18 | 1 | -2/+2 |
| | | | | indexes | ||||
* | Using TRANSACTION_READ_COMMITTED | Thomas Müller | 2015-04-13 | 1 | -0/+2 |
| | |||||
* | Merge pull request #14497 from owncloud/kill-substr-mssql-stable8 | Lukas Reschke | 2015-03-26 | 1 | -102/+0 |
|\ | | | | | [stable8] Remove hacky Substring support for MSSQL | ||||
| * | Remove hacky Substring support for MSSQL | Lukas Reschke | 2015-02-25 | 1 | -102/+0 |
| | | | | | | | | Substring() is not required for the core functionality and this allows us to get rid of a huge hack... | ||||
* | | SQLite autoincrement fix backport | Vincent Petry | 2015-03-26 | 2 | -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 array | Joas Schilling | 2015-03-16 | 3 | -0/+3 |
| | | | | | | | | | | Conflicts: lib/private/appframework/db/db.php | ||||
* | | Also use all keys for an empty array, just in case | Joas Schilling | 2015-03-16 | 2 | -2/+2 |
| | | |||||
* | | Fix doc blocks of insertIfNotExists() method | Joas Schilling | 2015-03-16 | 3 | -16/+24 |
| | | | | | | | | | | Conflicts: lib/private/appframework/db/db.php | ||||
* | | let insertIfNotExist() throw the native DBALException - no need to hide the ↵ | Thomas Müller | 2015-03-16 | 4 | -35/+16 |
| | | | | | | | | real exception | ||||
* | | Allow specifying the compare-array for insertIfNotExists() | Joas Schilling | 2015-03-16 | 3 | -10/+16 |
| | | | | | | | | | | Conflicts: lib/private/appframework/db/db.php | ||||
* | | Use an atomic implementation on sqlite for insertIfNotExist() | Thomas Müller | 2015-03-06 | 1 | -33/+9 |
| | | |||||
* | | Skip primary index if the table has one | Victor Dubiniuk | 2015-02-25 | 1 | -0/+3 |
|/ | |||||
* | Add mapping for a broken varchar type. Fixes #14247 | Victor Dubiniuk | 2015-02-18 | 1 | -0/+1 |
| | |||||
* | set MySQL autocommit on connection setup | Thomas Müller | 2015-01-19 | 1 | -4/+9 |
| | |||||
* | Use a special filter expression for Oracle to filter the prefix - fixes #13220 | Thomas Müller | 2015-01-12 | 5 | -8/+30 |
| | |||||
* | Merge pull request #12995 from owncloud/tbelau666-master | Thomas Müller | 2015-01-09 | 5 | -30/+43 |
|\ | | | | | Use Doctrines filter by table name | ||||
| * | add default for dbtableprefix | Morris Jobke | 2014-12-23 | 3 | -4/+4 |
| | | |||||
| * | use injected config object and fix typos | Morris Jobke | 2014-12-22 | 3 | -10/+24 |
| | | |||||
| * | inject \OCP\IConfig instance in migrator | Morris Jobke | 2014-12-22 | 3 | -23/+13 |
| | | |||||
| * | Use Doctrines filter by table name | tbelau666 | 2014-12-22 | 4 | -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 stacktrace | Robin Appelman | 2015-01-06 | 1 | -0/+10 |
|/ | |||||
* | Change support message to be more explicit about the enterprise edition | Morris Jobke | 2014-12-20 | 1 | -1/+1 |
| | |||||
* | Split mapping from Access and Helper classes into it's own. Fully test them, ↵ | Arthur Schiwon | 2014-12-19 | 1 | -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 oracle | Robin Appelman | 2014-12-09 | 1 | -0/+27 |
| | |||||
* | Add tableExists to public db api | Robin Appelman | 2014-12-09 | 1 | -0/+12 |
| | |||||
* | Add dropTable to IDBConnection | Robin Appelman | 2014-12-09 | 1 | -0/+13 |
| | |||||
* | Extract interaction with config.php into SystemConfig | Morris Jobke | 2014-12-08 | 1 | -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 mode | Thomas Müller | 2014-11-25 | 2 | -2/+12 |
| | |||||
* | drop dependency of some commands on old config object | Morris Jobke | 2014-11-20 | 2 | -7/+10 |
| | |||||
* | Make declaration compatible | Lukas Reschke | 2014-11-17 | 1 | -5/+5 |
| | | | | Fixes #12236 | ||||
* | do not output DB information, and do not set header | Arthur Schiwon | 2014-11-14 | 3 | -7/+28 |
| | |||||
* | errors are already logged | Arthur Schiwon | 2014-11-14 | 2 | -3/+0 |
| | |||||
* | eliminate OC_Template::printErrorPage in database classes, fixes #12182 | Arthur Schiwon | 2014-11-14 | 3 | -7/+7 |
| | |||||
* | allow passing driver options, fixes #11718 | Jörn Friedrich Dreyer | 2014-10-27 | 1 | -0/+7 |
| | |||||
* | Fix PHPDoc and remove explicit type hint | Lukas Reschke | 2014-10-24 | 1 | -2/+2 |
| | |||||
* | Add type hinting to functions | Lukas Reschke | 2014-10-24 | 1 | -1/+1 |
| | | | | It's only reasonable to have proper type hinting here which might even help us to catch bugs. | ||||
* | Use function outside of loop | Lukas Reschke | 2014-10-24 | 1 | -1/+2 |
| | | | | Otherwise the function is executed n times which is a lot of overhead | ||||
* | Merge pull request #10985 from owncloud/db-cleanup | Thomas Müller | 2014-10-23 | 4 | -139/+43 |
|\ | | | | | Cleanup database handling | ||||
| * | Bit more cleanup | Robin Appelman | 2014-10-22 | 1 | -2/+3 |
| | | |||||
| * | Move creating the database connection to the server container | Robin Appelman | 2014-10-22 | 1 | -0/+37 |
| | | |||||
| * | Remove implicit prepared statement cache and get the connection from the ↵ | Robin Appelman | 2014-10-22 | 2 | -28/+1 |
| | | | | | | | | server container in \OC_DB | ||||
| * | Remove \OC\DB\ConnectionWrapper, have \OC\DB\Connection implement ↵ | Robin Appelman | 2014-10-22 | 2 | -109/+2 |
| | | | | | | | | \OCP\IDBConnection directly instead | ||||
* | | Merge pull request #9586 from ↵ | Jörn Friedrich Dreyer | 2014-10-22 | 4 | -13/+49 |
|\ \ | |/ |/| | | | | | owncloud/enhanced-sql-script-generation-oracle-master Special treatment for Oracle | ||||
| * | Special treatment for Oracle | Thomas Müller | 2014-10-16 | 4 | -13/+49 |
| | | |||||
* | | Add PHPDoc about sanitization of "insertIfNotExist" | Lukas Reschke | 2014-10-17 | 1 | -1/+1 |
|/ | | | | Let's document this potential pitfall properly. | ||||
* | adding 'smallint unsigned' to type mapping for sqlite | Thomas Müller | 2014-09-20 | 1 | -0/+1 |
| | |||||
* | Fix ILIKE without wildcards for oracle | Robin Appelman | 2014-09-18 | 1 | -1/+1 |
| | |||||
* | Implement ILIKE for sqlite | Robin Appelman | 2014-09-17 | 1 | -1/+1 |
| | |||||
* | Make sqlite LIKE case sensitive on default | Robin Appelman | 2014-09-17 | 2 | -0/+45 |
| |