aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal/select_test.php
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-05-21 23:02:58 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2012-05-21 23:02:58 -0400
commit3c5eca4aed405afd425b165f7b6fd21fb3fe1095 (patch)
treed208344ccb6c445cfceca65beeb7893e73a02a0a /tests/dbal/select_test.php
parent6f6cf20d61d3e0b570a5b0b568550064a06ac9ca (diff)
parent8bfe1b2f54d1b52dbcb77969b206de520fc61617 (diff)
downloadforums-3c5eca4aed405afd425b165f7b6fd21fb3fe1095.tar
forums-3c5eca4aed405afd425b165f7b6fd21fb3fe1095.tar.gz
forums-3c5eca4aed405afd425b165f7b6fd21fb3fe1095.tar.bz2
forums-3c5eca4aed405afd425b165f7b6fd21fb3fe1095.tar.xz
forums-3c5eca4aed405afd425b165f7b6fd21fb3fe1095.zip
Merge PR #810 branch 'develop-olympus' into develop
* develop-olympus: [ticket/10890] Fix test_sql_fetchrow_returns_false_when_empty() on MS and ORA.
Diffstat (limited to 'tests/dbal/select_test.php')
-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 df888d9824..bd524100a2 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);