Parent Directory | Revision Log | Patch
revision 1.6 by btami, Wed Sep 17 20:09:43 2003 UTC | revision 1.7 by siesel, Wed Oct 8 15:51:48 2003 UTC | |
---|---|---|
# | Line 95 class MySQL_ResultSet(DBSIG_ResultSet): | Line 95 class MySQL_ResultSet(DBSIG_ResultSet): |
95 | i = 0 | i = 0 |
96 | dict = {} | dict = {} |
97 | for f in (rs): | for f in (rs): |
98 | if self._dataObject._unicodeMode and type(f)==types.StringType: | |
99 | f = f.decode(self._dataObject._databaseEncoding) | |
100 | ||
101 | dict[string.lower(self._fieldNames[i])] = f | dict[string.lower(self._fieldNames[i])] = f |
102 | i += 1 | i += 1 |
103 | self._cachedRecords.append (self._recordSetClass(parent=self, \ | self._cachedRecords.append (self._recordSetClass(parent=self, \ |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |