1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

Merge PR #810 branch 'bantu/ticket/10890' into develop-olympus

* bantu/ticket/10890:
  [ticket/10890] Fix test_sql_fetchrow_returns_false_when_empty() on MS and ORA.
This commit is contained in:
Oleg Pudeyev
2012-05-21 23:02:39 -04:00

View File

@@ -375,7 +375,9 @@ class phpbb_dbal_select_test extends phpbb_database_test_case
{
$db = $this->new_dbal();
$sql = 'SELECT * FROM (SELECT 1) AS TBL WHERE 1 = 0';
$sql = 'SELECT user_id
FROM phpbb_users
WHERE 1 = 0';
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);