mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-16 12:27:03 +08:00
Bugfix.
This commit is contained in:
@ -248,7 +248,9 @@ class BaseCursor:
|
|||||||
|
|
||||||
def nextset(self): return None
|
def nextset(self): return None
|
||||||
|
|
||||||
def _fetch_row(self): return self._result.fetch_row(1, self._fetch_type)[0]
|
def _fetch_row(self):
|
||||||
|
r = self._result.fetch_row(1, self._fetch_type)
|
||||||
|
return r and r[0] or ()
|
||||||
|
|
||||||
def _fetch_rows(self, size):
|
def _fetch_rows(self, size):
|
||||||
return self._result.fetch_row(size, self._fetch_type)
|
return self._result.fetch_row(size, self._fetch_type)
|
||||||
|
@ -69,7 +69,7 @@ derived from the Python license.
|
|||||||
|
|
||||||
setup (# Distribution meta-data
|
setup (# Distribution meta-data
|
||||||
name = "MySQL-python",
|
name = "MySQL-python",
|
||||||
version = "0.3.2",
|
version = "0.3.3",
|
||||||
description = "An interface to MySQL",
|
description = "An interface to MySQL",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
author = "Andy Dustman",
|
author = "Andy Dustman",
|
||||||
|
Reference in New Issue
Block a user