Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Hql
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25199/src/NHibernate/Hql
Modified Files:
QueryTranslator.cs
Log Message:
Fixed NH-79
Index: QueryTranslator.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Hql/QueryTranslator.cs,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** QueryTranslator.cs 27 Aug 2004 04:13:17 -0000 1.42
--- QueryTranslator.cs 30 Aug 2004 18:28:11 -0000 1.43
***************
*** 532,537 ****
{
rtsize = returnTypes.Count;
! foreach(string entityName in entitiesToFetch)
returnTypes.Add(entityName);
}
--- 532,539 ----
{
rtsize = returnTypes.Count;
! foreach(string entityName in entitiesToFetch)
! {
returnTypes.Add(entityName);
+ }
}
***************
*** 556,560 ****
int scalarSize = scalarTypes.Count;
! hasScalars = scalarTypes.Count!=size;
types = new IType[scalarSize];
--- 558,562 ----
int scalarSize = scalarTypes.Count;
! hasScalars = scalarTypes.Count!=rtsize;
types = new IType[scalarSize];
|