Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: Fix typos (found by codespell) | Stefan Weil | 2016-04-06 | 1 | -1/+1 |
| | | | | | | Fix also a small grammar issue. Signed-off-by: Stefan Weil <sw@weilnetz.de> | ||||
* | Prevent certain DBs throwing exceptions on same-value updates | Robin McCorkell | 2016-03-15 | 1 | -6/+24 |
| | | | | | | A PreconditionNotMetException must only be thrown if explicit preconditions are specified for setValues(), not if the value is merely the same as was already in the DB. | ||||
* | Use IQueryBuilder::PARAM_* instead of \PDO::PARAM_* | Joas Schilling | 2016-02-29 | 2 | -2/+3 |
| | |||||
* | Move casting to IExpressionBuilder | Joas Schilling | 2016-02-05 | 1 | -1/+1 |
| | |||||
* | Fix Oracle comparisons | Joas Schilling | 2016-01-26 | 1 | -17/+39 |
| | |||||
* | Add tests for clob comparisons | Joas Schilling | 2016-01-26 | 1 | -4/+64 |
| | |||||
* | fix test | Robin Appelman | 2016-01-18 | 1 | -4/+8 |
| | |||||
* | Introduce IDBConnection::setValues() | Robin McCorkell | 2016-01-18 | 1 | -6/+88 |
| | | | | | setValues() attempts to insert a new row, or failing that, update an existing row. The ability to set preconditions is also available. | ||||
* | Remove OC_DB::getConnection | Morris Jobke | 2016-01-07 | 4 | -4/+4 |
| | |||||
* | Remove OC_DB::dropTable | Morris Jobke | 2016-01-07 | 2 | -2/+2 |
| | |||||
* | Fix the last insert id test by changing to an autoincrement table | Joas Schilling | 2015-12-09 | 1 | -5/+17 |
| | |||||
* | Add a method to the get "to use" table and column name | Joas Schilling | 2015-12-08 | 1 | -1/+21 |
| | |||||
* | Add select distinct to the query builder | Joas Schilling | 2015-12-08 | 1 | -4/+32 |
| | |||||
* | Allow getting the last insert id without much hassle | Joas Schilling | 2015-12-08 | 1 | -0/+25 |
| | |||||
* | Apply DB group annotation ... | Thomas Müller | 2015-11-30 | 7 | -0/+45 |
| | |||||
* | Add a method to select a field or value with alias | Joas Schilling | 2015-11-23 | 1 | -34/+116 |
| | |||||
* | Allow `set('column', 'null')` to work like in Doctrine | Joas Schilling | 2015-09-24 | 1 | -0/+4 |
| | |||||
* | Automatically prefix table names with *PREFIX* unless specified | Joas Schilling | 2015-08-10 | 1 | -34/+64 |
| | |||||
* | Remove remainings of mssql | Thomas Müller | 2015-07-29 | 2 | -8/+2 |
| | |||||
* | Comment out LIMIT 0 case because of the mixed results | Joas Schilling | 2015-07-21 | 1 | -1/+2 |
| | |||||
* | Fix tests for setFirstResult and setMaxResults on oracle | Joas Schilling | 2015-07-21 | 2 | -42/+64 |
| | |||||
* | Set a limit until doctrine released a version that fixes Sqlite | Joas Schilling | 2015-07-21 | 1 | -0/+4 |
| | | | | See https://github.com/doctrine/dbal/pull/782 for more info | ||||
* | Correctly count the number of items (rowCount is Update/Insert/Delete only) | Joas Schilling | 2015-07-21 | 1 | -13/+22 |
| | |||||
* | Can not test the string, thanks oracle.... | Joas Schilling | 2015-07-21 | 1 | -10/+32 |
| | |||||
* | Add unit tests and automatic quoting | Joas Schilling | 2015-07-21 | 3 | -0/+1420 |
| | |||||
* | Add unit test for migrator with different prefix | Vincent Petry | 2015-05-19 | 1 | -1/+28 |
| | |||||
* | Merge pull request #12995 from owncloud/tbelau666-master | Thomas Müller | 2015-01-09 | 1 | -1/+1 |
|\ | | | | | Use Doctrines filter by table name | ||||
| * | add proper prefix for migration tests | Morris Jobke | 2014-12-23 | 1 | -1/+1 |
| | | |||||
* | | Clean up test table in Connection Test to prevent unnecessary failures. | Andreas Fischer | 2014-12-23 | 1 | -0/+19 |
|/ | |||||
* | Properly call parent::tearDown() in MDB2SchemaManager::tearDown(). | Andreas Fischer | 2014-12-20 | 1 | -3/+2 |
| | | | | | The early return introduced by 04c982a96e19f2254739c24ee8c6b568edcb4190 prevents parent::tearDown() being called on Oracle. | ||||
* | add unit tests for tableExists and dropTable | Robin Appelman | 2014-12-09 | 1 | -0/+69 |
| | |||||
* | Replace uniqid calls with $this->getUniqueID so tests pass again on windows | Joas Schilling | 2014-12-03 | 3 | -3/+3 |
| | |||||
* | fix unit tests of mdb2scheamreader | Morris Jobke | 2014-11-20 | 1 | -2/+2 |
| | |||||
* | Make remaining files extend the test base | Joas Schilling | 2014-11-19 | 5 | -12/+23 |
| | |||||
* | disable database migration unit tests for MSSQL | Thomas Müller | 2014-10-23 | 2 | -5/+16 |
| | |||||
* | Fix unit test messing up the transaction on Oracle | Vincent Petry | 2014-08-20 | 1 | -0/+5 |
| | | | | | | | Since the unit test is skipped anyway for Oracle, the dropTable() call should be skipped as well to avoid having a leftover transaction and cause further transactions to be nested and break the next test suites requiring transactions. | ||||
* | migration test for sqlite - adding type mapping for 'tinyint unsigned' | Thomas Müller | 2014-07-29 | 2 | -1/+40 |
| | |||||
* | Adding test which breaks because bit and/or enum datatypes are used | Thomas Müller | 2014-07-24 | 1 | -0/+39 |
| | |||||
* | Added test for reserved keywords | Vincent Petry | 2014-07-01 | 1 | -0/+22 |
| | |||||
* | Fix migrator tests to use the correct migrator instances | Vincent Petry | 2014-07-01 | 1 | -12/+10 |
| | |||||
* | Added unit test for checkMigrate with primary key + autoinc | Vincent Petry | 2014-06-17 | 1 | -0/+21 |
| | | | | | Added unit test to make sure that checkMigrate() works when adding a primary key and autoincrement column to a table schema. | ||||
* | adding PK to table encryption | Thomas Müller | 2014-06-06 | 3 | -0/+93 |
| | | | | | | | | | | | | | | | | | | | | adding auto increment/PK to table files_trash adding PK to table ldap_user_mapping and ldap_group_members adding PK to table ldap_group_mapping truncate permissions table to allow smooth creation of primary key adding unit test for creating an auto increment column on a table which already contains data remove unneeded table files_trashsizes fix unit test no need to truncate *PREFIX*permissions On Oracle adding auto increment columns is not working out of the box - Oracle migrations are to be done manually | ||||
* | Fix unit tests | Robin Appelman | 2014-06-03 | 1 | -1/+1 |
| | |||||
* | skip tests for oracle | Robin Appelman | 2014-06-03 | 1 | -0/+3 |
| | |||||
* | Check sqlite migration on a copy of the database file | Robin Appelman | 2014-06-03 | 1 | -19/+47 |
| | |||||
* | Fix migrator for postgres | Robin Appelman | 2014-06-03 | 1 | -7/+3 |
| | |||||
* | skip migration tests for sqlite | Robin Appelman | 2014-06-03 | 1 | -3/+11 |
| | |||||
* | Create unique names for temporary indexes | Robin Appelman | 2014-06-03 | 1 | -5/+8 |
| | |||||
* | Add a mechanism to try the database migration on a copy of the tables before ↵ | Robin Appelman | 2014-06-03 | 1 | -0/+84 |
| | | | | running it on the "real" data | ||||
* | Increment number of columns by one | Oliver Gasser | 2013-12-18 | 1 | -1/+1 |
| |