summaryrefslogtreecommitdiff
path: root/test/sql/query.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/sql/query.py')
-rw-r--r--test/sql/query.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/sql/query.py b/test/sql/query.py
index ac62eb8e9..bffb37e6b 100644
--- a/test/sql/query.py
+++ b/test/sql/query.py
@@ -158,8 +158,11 @@ class QueryTest(PersistTest):
self.assert_(r==[(3, 'ed'), (4, 'wendy'), (5, 'laura')])
r = self.users.select(offset=5, order_by=[self.users.c.user_id]).execute().fetchall()
self.assert_(r==[(6, 'ralph'), (7, 'fido')])
-
+
+ @testbase.unsupported('mysql')
def test_scalar_select(self):
+ """test that scalar subqueries with labels get their type propigated to the result set."""
+ # mysql and/or mysqldb has a bug here, type isnt propigated for scalar subquery.
datetable = Table('datetable', metadata,
Column('id', Integer, primary_key=True),
Column('today', DateTime))