|
|
Choosing A Webhost: |
Re: weirds problems after upgrade from 7.5.00.18 to 7.5.00.19: msg#00269db.maxdb
Dear Dittmar with the following patch in the python module sapdb.dbapi it is possible to use again the fetchall method in the cursor class. I have no clue how to fix the fetchone and fetchmany methods -------in class cursor----------------------------- def __fetchall (self): cursor = self.__getCursor () ## --------start new code------------------- cursor.first() result = [row for row in cursor] ## ----------end new code------------------- ## --------start old code------------------- ## result = [] ## while 1: ## row = self.nextFromCursor (cursor) ## if not row: ## break ## result.append (row) ## ---------end old code-------------------- return result -------------------------------------------------- There seems to be an important problem with the setTranslation method. My implementation of the mapping from Timestamp and Date columns to datetime.datetime and datetime.date objects has broken and there is no translation anymore, just plain strings instead of datetime objects. regards Gottfried Stauffenberg Daniel Dittmar wrote: Jean-Michel OLTRA wrote: -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: dbanalyzer output/optimization, "Döhr, Markus ICC-H" |
|---|---|
| Next by Date: | Exporting Stored Procedures, Eoghan Murray |
| Previous by Thread: | Re: weirds problems after upgrade from 7.5.00.18 to 7.5.00.19, Jean-Michel OLTRA |
| Next by Thread: | catalogextract failed, Gu Lei |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|