Hmmm... Followed the code down to MySQLdb.cursors.BaseCursor._do_query(self, q), and the call to query there too gives me wrong results...
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simen Haugen Sent: 20. desember 2007 10:46 To: Dabo Users list Subject: [dabo-users] Cursor not updating..? I have some simple code to check for application updates, but the code fails... cn = self.getConnectionByName("Updater") crs = cn.getDaboCursor() crs.execute("SELECT version FROM tbl_application WHERE appname='%s'" % self.getAppInfo("appName")) # crs.getDataSet() == (({"version": "0.2.0"}),) crs.close() The problem is when the database has been updated by external sources... When I then run this code again, I get the same result, and not the updated values. If I restart the application it of course gets the correct result again. Is there some caching issues here? I cannot say I've encountered this problem before, so this might be a weird bug if I'm not doing something wrong. Platform: Win Python Version: 2.4.4 on win32 Dabo Version: Version 0.8.2; Revision ~3767 UI Version: 2.8.6.1 on wxMSW [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
