diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-06-28 16:07:22 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-06-28 20:16:01 +0200 |
commit | c80e76720f4e65a5f7af31f67d70ec66019bcb68 (patch) | |
tree | 544a86117b7d966d13c8799d414b068def6ca2d8 /tests | |
parent | 66e1eaac9379e16bb0c9e60b2794b03bda3b9eec (diff) | |
download | nextcloud-server-c80e76720f4e65a5f7af31f67d70ec66019bcb68.tar.gz nextcloud-server-c80e76720f4e65a5f7af31f67d70ec66019bcb68.zip |
Going from text to clob is not something we do.
Also Oracle DB has problems with this, see
http://abhijitbashetti.blogspot.de/2011/10/converting-varchar2-to-clob-and-clob-to.html
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/db_structure2.xml | 3 | ||||
-rw-r--r-- | tests/lib/dbschema.php | 6 |
2 files changed, 2 insertions, 7 deletions
diff --git a/tests/data/db_structure2.xml b/tests/data/db_structure2.xml index fc6fe0bba7d..6f12f81f477 100644 --- a/tests/data/db_structure2.xml +++ b/tests/data/db_structure2.xml @@ -49,8 +49,9 @@ <field> <name>description</name> - <type>clob</type> + <type>text</type> <notnull>false</notnull> + <length>1024</length> </field> <field> diff --git a/tests/lib/dbschema.php b/tests/lib/dbschema.php index 103909e2e25..c2e55eabf4b 100644 --- a/tests/lib/dbschema.php +++ b/tests/lib/dbschema.php @@ -53,12 +53,6 @@ class Test_DBSchema extends PHPUnit_Framework_TestCase { } public function doTestSchemaChanging() { - if (OC_Config::getValue( 'dbtype', 'sqlite' ) === 'oci') { - $this->markTestSkipped( - // see http://abhijitbashetti.blogspot.de/2011/10/converting-varchar2-to-clob-and-clob-to.html - 'Oracle does not simply ALTER a VARCHAR into a CLOB.' - ); - } OC_DB::updateDbFromStructure($this->schema_file2); $this->assertTableExist($this->table2); } |