Commit 8feb89be authored by Adrien Crivelli's avatar Adrien Crivelli

Deactivate partial index support for Sqlite

While technically it could work, the schema introspection of Sqlite
platform has severe flaws preventing us to provide reliable support
of partial (and non-partial) indexes for the moment.
parent 15a601a7
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
## BC BREAK: Doctrine\DBAL\Schema\Table ## BC BREAK: Doctrine\DBAL\Schema\Table
The methods ``addIndex()`` and ``addUniqueIndex()`` in ``Doctrine\DBAL\Schema\Table`` The methods ``addIndex()`` and ``addUniqueIndex()`` in ``Doctrine\DBAL\Schema\Table``
hav an additional, optional parameter. If you override this method, you should hav an additional, optional parameter. If you override these methods, you should
add this new parameter to the declaration of your overridden method. add this new parameter to the declaration of your overridden methods.
## BC BREAK: Doctrine\DBAL\Connection ## BC BREAK: Doctrine\DBAL\Connection
......
...@@ -463,14 +463,6 @@ class SqlitePlatform extends AbstractPlatform ...@@ -463,14 +463,6 @@ class SqlitePlatform extends AbstractPlatform
return true; return true;
} }
/**
* {@inheritdoc}
*/
public function supportsPartialIndexes()
{
return true;
}
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
......
...@@ -497,11 +497,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase ...@@ -497,11 +497,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
); );
} }
public function testSupportsPartialIndexes()
{
$this->assertTrue($this->_platform->supportsPartialIndexes());
}
/** /**
* @group DBAL-807 * @group DBAL-807
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment