diff roundup/backends/back_mysql.py @ 2578:7f25486ff85e

fixed RDBMS filter() for no matches from full-text search [SF#990778]
author Richard Jones <richard@users.sourceforge.net>
date Mon, 19 Jul 2004 00:36:31 +0000
parents fc6cef8ff0b3
children 33fffbf7ae68
line wrap: on
line diff
--- a/roundup/backends/back_mysql.py	Wed Jul 14 07:27:21 2004 +0000
+++ b/roundup/backends/back_mysql.py	Mon Jul 19 00:36:31 2004 +0000
@@ -496,6 +496,10 @@
         property value to match is a list, any one of the values in the
         list may match for that property to match.
         '''
+        # we can't match anything if search_matches is empty
+        if search_matches == {}:
+            return []
+
         if __debug__:
             start_t = time.time()
 

Roundup Issue Tracker: http://roundup-tracker.org/