Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Fix typo | Robin Appelman | 2014-06-03 | 1 | -1/+1 | |
| | | ||||||
| * | Better unique names for temporary tables | Robin Appelman | 2014-06-03 | 2 | -1/+19 | |
| | | ||||||
| * | Add `generateChangeScript()` back | Robin Appelman | 2014-06-03 | 1 | -0/+9 | |
| | | ||||||
| * | add a getter for the table | Robin Appelman | 2014-06-03 | 1 | -0/+7 | |
| | | ||||||
| * | Quote identifiers on mysql | Robin Appelman | 2014-06-03 | 2 | -1/+35 | |
| | | ||||||
| * | Skip migration checks for all sql backends besides mysql, postgres and sqlite | Robin Appelman | 2014-06-03 | 3 | -10/+30 | |
| | | ||||||
| * | Only quote identifiers for oracle during migration | Robin Appelman | 2014-06-03 | 3 | -26/+58 | |
| | | ||||||
| * | Try and check migration before applying it | Robin Appelman | 2014-06-03 | 2 | -60/+65 | |
| | | ||||||
| * | Check sqlite migration on a copy of the database file | Robin Appelman | 2014-06-03 | 2 | -0/+41 | |
| | | ||||||
| * | Fix migrator for postgres | Robin Appelman | 2014-06-03 | 1 | -1/+3 | |
| | | ||||||
| * | Fix temporary schema creation | Robin Appelman | 2014-06-03 | 1 | -4/+8 | |
| | | ||||||
| * | Fix generating migration test schemas | Robin Appelman | 2014-06-03 | 1 | -1/+4 | |
| | | ||||||
| * | Create unique names for temporary indexes | Robin Appelman | 2014-06-03 | 1 | -3/+23 | |
| | | ||||||
| * | Add a mechanism to try the database migration on a copy of the tables before ↵ | Robin Appelman | 2014-06-03 | 2 | -0/+158 | |
| | | | | | | | | running it on the "real" data | |||||
* | | Merge pull request #8425 from owncloud/columns_should_be_nullable_by_default | Thomas Müller | 2014-06-03 | 1 | -1/+1 | |
|\ \ | |/ |/| | columns should be nullable by default | |||||
| * | columns should be nullable by default | Jörn Friedrich Dreyer | 2014-05-01 | 1 | -1/+1 | |
| | | ||||||
* | | - fix dropTable() and introduce tableExists() | Thomas Müller | 2014-05-30 | 2 | -34/+1 | |
| | | | | | | | | | | | | | | - kill replaceDB() - this function is unused and it's implementation obviously wrong - add method annotation OC_DB_StatementWrapper::fetchAll - remove duplicate code in Test_DBSchema and reuse OC_DB::tableExists - remove unused variables | |||||
* | | Merge pull request #8639 from owncloud/drop-brief | Thomas Müller | 2014-05-19 | 3 | -8/+8 | |
|\ \ | | | | | | | Remove all occurences of @brief and @returns from PHPDoc | |||||
| * | | Remove all occurences of @brief and @returns from PHPDoc | Morris Jobke | 2014-05-19 | 3 | -8/+8 | |
| | | | | | | | | | | | | * test case added to avoid adding them later | |||||
* | | | Merge pull request #6457 from owncloud/db-convert-tool | Frank Karlitschek | 2014-05-19 | 2 | -0/+158 | |
|\ \ \ | |/ / |/| | | Command line tool to convert current database to others, except sqlite | |||||
| * | | fixing typos and adding PHPDoc | Thomas Müller | 2014-05-12 | 1 | -2/+3 | |
| | | | ||||||
| * | | Add Bart to PgSqlTools copyright. | Andreas Fischer | 2014-04-15 | 1 | -0/+1 | |
| | | | ||||||
| * | | Move PostgreSQL sequence resynchronisation out into PgSqlTools class. | Andreas Fischer | 2014-04-14 | 1 | -0/+39 | |
| | | | ||||||
| * | | Deduplicate connection handling code into \OC\DB\ConnectionFactory | Andreas Fischer | 2014-03-31 | 1 | -0/+117 | |
| |/ | ||||||
* | | Fix all PHPDoc types and variable names, in /lib | Robin McCorkell | 2014-05-13 | 3 | -4/+4 | |
| | | ||||||
* | | Squash 'a | b' into 'a|b', in /lib | Robin McCorkell | 2014-05-13 | 2 | -2/+2 | |
|/ | ||||||
* | adding @method annotation to declare methods which can be called on the ↵ | Thomas Müller | 2014-03-28 | 1 | -3/+11 | |
| | | | | wrapped statement object | |||||
* | Allow XML entity loader for MDB2 schema loader | Vincent Petry | 2014-03-03 | 1 | -0/+2 | |
| | | | | Forward port of 762b0d9 from stable6 to master | |||||
* | Also quote old column name during DB migration | Vincent Petry | 2014-02-27 | 1 | -0/+3 | |
| | | | | This fixes alter table commands that didn't quote the old column name | |||||
* | Scrutinizer Auto-Fixes | Scrutinizer Auto-Fixer | 2014-02-19 | 1 | -0/+6 | |
| | | | | | | | | | | | This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720 Enabled analysis tools: - PHP Analyzer - JSHint - PHP Copy/Paste Detector - PHP PDepend | |||||
* | Merge branch 'master' into scrutinizer_documentation_patches | Thomas Müller | 2014-02-18 | 2 | -1/+16 | |
|\ | | | | | | | | | Conflicts: lib/private/migration/content.php | |||||
| * | Merge pull request #6796 from owncloud/statementwrapper-bindparam | Thomas Müller | 2014-02-18 | 1 | -0/+14 | |
| |\ | | | | | | | Add bindParam to the database statement wrapper | |||||
| | * | Add bindParam to statement wrapper | Robin Appelman | 2014-01-16 | 1 | -0/+14 | |
| | | | ||||||
| * | | Merge pull request #7176 from owncloud/style | Lukas Reschke | 2014-02-18 | 1 | -1/+2 | |
| |\ \ | | | | | | | | | Some style fixes | |||||
| | * | | Style fixes | Bart Visscher | 2014-02-12 | 1 | -1/+2 | |
| | |/ | ||||||
* | | | Merge branch 'master' into scrutinizer_documentation_patches | Thomas Müller | 2014-02-14 | 1 | -0/+3 | |
|\| | | | | | | | | | | | | | | Conflicts: lib/private/appconfig.php | |||||
| * | | Add caching to appconfig | Robin Appelman | 2014-02-07 | 1 | -0/+3 | |
| |/ | ||||||
* / | polish documentation based on scrutinizer patches | Jörn Friedrich Dreyer | 2014-02-06 | 5 | -5/+11 | |
|/ | ||||||
* | Remove OC_DB_StatementWrapper::numRows(). | Andreas Fischer | 2013-12-21 | 1 | -19/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Using this method will result in an unneccesary extra SQL query (which also may return an incorrect result because the underlying table changed in the meantime). In general: If you are performing an UPDATE, DELETE or equivalent query, OC_DB_StatementWrapper::execute() will already give you the number of "affected rows" via \Doctrine\DBAL\Driver\Statement::rowCount(). This will not work for SELECT queries, however. If you want to know whether a table contains any rows matching your condition, use "SELECT id FROM ... WHERE ... LIMIT 1". If you want to know whether a table contains any rows matching your condition and you also need the data, use "SELECT ... FROM ... WHERE ...", then use one of the fetch() methods. If you want to count the number of rows matching your condition, use use "SELECT COUNT(...) AS number_of_rows FROM ... WHERE ...", then use one of the fetch() methods. | |||||
* | DB: Support DECIMAL(precision,scale) syntax in XML | Oliver Gasser | 2013-12-17 | 1 | -0/+8 | |
| | | | | | | | Add support for specifying the precision and scale of a decimal data type to the XML description language. See owncloud/core#6475 | |||||
* | on mssql the schema migration sometimes fails due to an already existing ↵ | Thomas Mueller | 2013-11-26 | 1 | -0/+2 | |
| | | | | | | transaction - error: 'New transaction is not allowed because there are other threads running in the session.' The solution is to simple reconnect to the database to start with a fresh connection | |||||
* | Merge pull request #5789 from ogasser/db_fix_default_for_numeric | Bart Visscher | 2013-11-15 | 1 | -1/+4 | |
|\ | | | | | DB: Set correct default value for numeric types | |||||
| * | treat numeric as an alias for decimal | Oliver Gasser | 2013-11-12 | 1 | -0/+3 | |
| | | ||||||
| * | changed type to decimal | Oliver Gasser | 2013-11-12 | 1 | -1/+1 | |
| | | ||||||
| * | DB: Set correct default value for numeric types | Oliver Gasser | 2013-11-10 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set 0 as default value for columns with numeric data type instead of the empty string ''. Otherwise the database complains about an invalid default value for this column. To reproduce put the following in your ````appinfo/database.xml````: ```` <field> <name>modified</name> <type>decimal</type> <default/> <notnull>true</notnull> <length>15</length> </field> ```` See owncloud/mozilla_sync#14 | |||||
* | | Don't set a default value when there isn't a default specified | Bart Visscher | 2013-11-11 | 1 | -1/+1 | |
|/ | ||||||
* | Inherit lastInsertId() from Adapter. | Andreas Fischer | 2013-11-04 | 1 | -5/+0 | |
| | ||||||
* | mssql: fixing lastInsertId() implementation | Thomas Mueller | 2013-11-02 | 1 | -4/+2 | |
| | ||||||
* | Merge pull request #5458 from owncloud/fixing-5222-master | VicDeo | 2013-10-23 | 2 | -1/+100 | |
|\ | | | | | php 5.3 compatibility regarding OC\DB\Connection fixed | |||||
| * | add missing file header | Thomas Müller | 2013-10-23 | 1 | -0/+6 | |
| | |