summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 97429ed)
raw | patch | inline | side by side (parent: 97429ed)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 25 Sep 2002 04:56:21 +0000 (04:56 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 25 Sep 2002 04:56:21 +0000 (04:56 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1229 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/backends/rdbms_common.py | patch | blob | history |
index e9bef54988dcf671e25a4ca8d6e3b7448027c771..6f2c75b99803bcddc7300c32aa37c89d47cb6fed 100644 (file)
-# $Id: rdbms_common.py,v 1.16 2002-09-24 07:39:52 richard Exp $
+# $Id: rdbms_common.py,v 1.17 2002-09-25 04:56:21 richard Exp $
# standard python modules
import sys, os, time, re, errno, weakref, copy
property value to match is a list, any one of the values in the
list may match for that property to match.
'''
+ # just don't bother if the full-text search matched diddly
+ if search_matches == {}:
+ return []
+
cn = self.classname
# figure the WHERE clause from the filterspec
args = tuple(args)
if __debug__:
print >>hyperdb.DEBUG, 'filter', (self, sql, args)
+ print sql
self.db.cursor.execute(sql, args)
l = self.db.cursor.fetchall()