aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-05-21 23:02:39 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2012-05-21 23:02:39 -0400
commit8bfe1b2f54d1b52dbcb77969b206de520fc61617 (patch)
tree36f8d5caa94d8cce1a46b76794b90ff5677989bf /tests
parenta97ebe78bfddd1ec20903183087c20a936a96a23 (diff)
parent7ec6254078e28e94410adb51cd95d5ea687ae39d (diff)
downloadforums-8bfe1b2f54d1b52dbcb77969b206de520fc61617.tar
forums-8bfe1b2f54d1b52dbcb77969b206de520fc61617.tar.gz
forums-8bfe1b2f54d1b52dbcb77969b206de520fc61617.tar.bz2
forums-8bfe1b2f54d1b52dbcb77969b206de520fc61617.tar.xz
forums-8bfe1b2f54d1b52dbcb77969b206de520fc61617.zip
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/dbal/select_test.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/dbal/select_test.php b/tests/dbal/select_test.php
index 1b04450fcd..81cd13b006 100644
--- a/tests/dbal/select_test.php
+++ b/tests/dbal/select_test.php
@@ -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);