1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15055] Support console questions on windows

PHPBB3-15055
This commit is contained in:
Marc Alexander
2017-12-31 11:53:15 +01:00
parent ede339c1c8
commit a999718b42
4 changed files with 52 additions and 15 deletions

View File

@@ -462,10 +462,6 @@ class phpbb_dbal_db_tools_test extends phpbb_database_test_case
// Index name has > 30 chars - that should not be possible.
$too_long_index_name = str_repeat('i', 31);
$this->assertFalse($this->tools->sql_index_exists('prefix_table_name', $too_long_index_name));
if (strpos($this->tools->sql_layer, 'mssql') === false)
{
$this->setExpectedTriggerError(E_USER_ERROR);
}
$this->tools->sql_create_index('prefix_table_name', $too_long_index_name, array('c_timestamp'));
}
}