|
@@ -131,7 +131,7 @@ class Cursor(object):
|
|
|
def fetchmany(self, n=None):
|
|
def fetchmany(self, n=None):
|
|
|
res = []
|
|
res = []
|
|
|
|
|
|
|
|
- while next(self.rs) and (n is None or n > 0):
|
|
|
|
|
|
|
+ while self.rs.next() and (n is None or n > 0):
|
|
|
row = []
|
|
row = []
|
|
|
for c in range(self._meta.getColumnCount()):
|
|
for c in range(self._meta.getColumnCount()):
|
|
|
cell = self.rs.getObject(c + 1)
|
|
cell = self.rs.getObject(c + 1)
|