Icon View Incident Report

Serious Serious
Reported By: Bruce Vander Werf
Reported On: 11/17/2003
For: Version 4.00 Build 1
# 1442 Using an ORDER BY and a GROUP BY in the Same SQL SELECT Statement Causes AV

This query causes DBISAM v4 to crash when Prepare is called.

SELECT *, COUNT(A.PERSONID) AS COUNT
FROM MAATTEND AS A
JOIN MAGROUPS AS G ON (G.ACTID=A.ACTID)
JOIN MAPEOPLE AS P ON (P.MEMBERID=A.PERSONID)
JOIN MAHOUSE AS H ON (P.FAMILYID=H.FAMILYID)
WHERE (A.VISITOR=TRUE) AND (A.ACTID=101) AND
      (A.MEETDATE >= '2003-11-01') AND (A.MEETDATE <= '2003-11-30')
GROUP BY A.PERSONID
ORDER BY P.FULLNAME



Resolution Resolution
Fixed Problem on 11/18/2003 in version 4.01 build 1
Image