mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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:
commit
8bfe1b2f54
1 changed files with 3 additions and 1 deletions
|
@ -375,7 +375,9 @@ class phpbb_dbal_select_test extends phpbb_database_test_case
|
||||||
{
|
{
|
||||||
$db = $this->new_dbal();
|
$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);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
$row = $db->sql_fetchrow($result);
|
$row = $db->sql_fetchrow($result);
|
||||||
|
|
Loading…
Add table
Reference in a new issue