Parent Directory | Revision Log | Patch
revision 1.68 by siesel, Tue Apr 29 19:25:17 2003 UTC | revision 1.69 by jamest, Fri Aug 1 21:33:09 2003 UTC | |
---|---|---|
# | Line 581 class DBSIG_DataObject_Object: | Line 581 class DBSIG_DataObject_Object: |
581 | whereClause = ' WHERE %s' % (additionalSQL) | whereClause = ' WHERE %s' % (additionalSQL) |
582 | ||
583 | ||
584 | q = "SELECT count(%s*) FROM %s%s" % (distinct, self.table, whereClause) | if len(self._fieldReferences): |
585 | q = "SELECT count(%s%s) FROM %s%s" % (distinct, self._fieldReferences.keys()[0],self.table, whereClause) | |
586 | else: | |
587 | q = "SELECT count(%s *) FROM %s%s" % (distinct, self.table, whereClause) | |
588 | ||
589 | GDebug.printMesg(5,q) | GDebug.printMesg(5,q) |
590 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |