From: Bart Visscher Date: Fri, 28 Jun 2013 14:07:22 +0000 (+0200) Subject: Going from text to clob is not something we do. X-Git-Tag: v6.0.0alpha2~544^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c80e76720f4e65a5f7af31f67d70ec66019bcb68;p=nextcloud-server.git 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 --- 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 @@ description - clob + text false + 1024 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); }