Update of /cvsroot/monetdb/clients/src/python/Cimpl/MonetSQLdb
In directory 
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22100/src/python/Cimpl/MonetSQLdb

Modified Files:
      Tag: Clients_1-20
        cursors.py 
Log Message:
added test for
1834941           cursor.executemany (python) fails

fixed this bug in cursors.py


Index: cursors.py
===================================================================
RCS file: /cvsroot/monetdb/clients/src/python/Cimpl/MonetSQLdb/cursors.py,v
retrieving revision 1.3
retrieving revision 1.3.4.1
diff -u -d -r1.3 -r1.3.4.1
--- cursors.py  26 Apr 2007 09:28:06 -0000      1.3
+++ cursors.py  20 Nov 2007 13:31:28 -0000      1.3.4.1
@@ -116,12 +116,10 @@
 
         """
         if not args: return
-        if not m:
-            r = 0
-            for a in args:
-                r = r + self._execute(query, a)
-            return r
-
+        r = 0
+        for a in args:
+            r = r + self.execute(query, a)
+        return r
 
     def __do_query(self, q):
         self._result = self.connection._mapi.query(q)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to