[gnue] r9609 - trunk/gnue-common/src/datasources/drivers/Base

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: reinhard
Date: 2007-05-23 06:45:40 -0500 (Wed, 23 May 2007)
New Revision: 9609

Modified:
   trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py
Log:
Added a note about a possible optimizing I just stumbled across.


Modified: trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py	2007-05-23 08:04:11 UTC (rev 9608)
+++ trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py	2007-05-23 11:45:40 UTC (rev 9609)
@@ -593,6 +593,8 @@
             self.__initialData [self.__rowidField] = rowid
             # Requery all the fields that are important for inserting details.
             # A backend trigger could have e.g. generated a primary key.
+            # TODO: We could save this work for cases where the detail
+            # resultsets don't have any inserted records.
             if self.__detailLinkFlags:
               self.__do_requery (self.__detailLinkFlags.keys ())
         else:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.