Commit cdd2d49c authored by Bart Visscher's avatar Bart Visscher

Skip test on sqlite versions where this can't work

parent e1c36ace
......@@ -96,6 +96,10 @@ EOS
public function testNonDefaultPKOrder()
{
$version = \SQLite3::version();
if(version_compare($version['versionString'], '3.7.16', '<')) {
$this->markTestSkipped('This version of sqlite doesn\'t return the order of the Primary Key.');
}
$this->_conn->executeQuery(<<<EOS
CREATE TABLE non_default_pk_order (
id INTEGER,
......
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