commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r8260 - trunk/gnue-common/src/datasources


From: jan
Subject: [gnue] r8260 - trunk/gnue-common/src/datasources
Date: Mon, 3 Apr 2006 18:20:56 -0500 (CDT)

Author: jan
Date: 2006-03-25 09:39:22 -0600 (Sat, 25 Mar 2006)
New Revision: 8260

Modified:
   trunk/gnue-common/src/datasources/GConditions.py
Log:
fix mysql backend. mysql treats function<space>() as user defined functions.


Modified: trunk/gnue-common/src/datasources/GConditions.py
===================================================================
--- trunk/gnue-common/src/datasources/GConditions.py    2006-03-24 20:46:33 UTC 
(rev 8259)
+++ trunk/gnue-common/src/datasources/GConditions.py    2006-03-25 15:39:22 UTC 
(rev 8260)
@@ -1213,7 +1213,7 @@
   """
   def __init__ (self, parent = None):
     GUnaryConditionElement.__init__ (self, parent, 'GCupper')
-    self._operator_ = u"UPPER (%s)"
+    self._operator_ = u"UPPER(%s)"
 
   # ---------------------------------------------------------------------------
 
@@ -1232,7 +1232,7 @@
   """
   def __init__ (self, parent = None):
     GUnaryConditionElement.__init__ (self, parent, 'GClower')
-    self._operator_ = u"LOWER (%s)"
+    self._operator_ = u"LOWER(%s)"
 
   # ---------------------------------------------------------------------------
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]