Skip test for versions of < MySQL5.6.

This commit is contained in:
mark 2015-09-17 10:43:43 +02:00
parent d8a55ad065
commit e7d6319d59

View file

@ -933,6 +933,9 @@ SQL;
* @return void
*/
public function testDescribeHandleCurrentTimestampDatetime() {
$mysqlVersion = $this->Dbo->query('SELECT VERSION() as version', array('log' => false));
$this->skipIf(version_compare($mysqlVersion[0][0]['version'], '5.6.0', '<'));
$name = $this->Dbo->fullTableName('timestamp_default_values');
$sql = <<<SQL
CREATE TABLE $name (