Export to GitHub

subsonicproject - issue #29

IN/NOT IN Subquries don't accept aggregate values


Posted on Jul 29, 2008 by Helpful Elephant

What steps will reproduce the problem? 1. Create a query that contains an IN/NOT IN subquery, where the subquery's select statement is an aggregate, instead of a normal Select column.

What is the expected output? Expect the outer query to run successfully.

What do you see instead? An error message like 'You must specify a column to return for the IN to be valid. Use Select("column") to do this'

What version of the product are you using? Rev 479.

On what operating system? XP

Please provide any additional information below. The attached patch resolves this issue in SqlQuery\Contstraint.cs.

Attachments

Comment #1

Posted on Apr 8, 2009 by Happy Dog

Fixed with revision 500

Comment #2

Posted on Apr 8, 2009 by Happy Dog

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Defect Priority-Medium