mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/11644] Skip phpbb_dbal_order_lower_test on MySQL 5.6
PHPBB3-11644
This commit is contained in:
parent
13c087d4f1
commit
20d59c49e2
1 changed files with 6 additions and 1 deletions
|
@ -18,6 +18,11 @@ class phpbb_dbal_order_lower_test extends phpbb_database_test_case
|
||||||
{
|
{
|
||||||
$db = $this->new_dbal();
|
$db = $this->new_dbal();
|
||||||
|
|
||||||
|
if (strpos($db->sql_layer, 'mysql') === 0 && version_compare($db->sql_server_info(true, false), '5.6', '>='))
|
||||||
|
{
|
||||||
|
$this->markTestSkipped('MySQL 5.6 fails to order things correctly. See also: http://tracker.phpbb.com/browse/PHPBB3-11571 http://bugs.mysql.com/bug.php?id=69005');
|
||||||
|
}
|
||||||
|
|
||||||
// http://tracker.phpbb.com/browse/PHPBB3-10507
|
// http://tracker.phpbb.com/browse/PHPBB3-10507
|
||||||
// Test ORDER BY LOWER(style_name)
|
// Test ORDER BY LOWER(style_name)
|
||||||
$db->sql_return_on_error(true);
|
$db->sql_return_on_error(true);
|
||||||
|
@ -55,7 +60,7 @@ class phpbb_dbal_order_lower_test extends phpbb_database_test_case
|
||||||
'theme_id' => 2,
|
'theme_id' => 2,
|
||||||
'imageset_id' => 2
|
'imageset_id' => 2
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
$db->sql_fetchrowset($result)
|
$db->sql_fetchrowset($result)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue