Author: johannes
Date: 2007-03-30 01:55:31 -0500 (Fri, 30 Mar 2007)
New Revision: 9454

Modified:
   trunk/gnue-common/src/datasources/readgsd.py
Log:
On processing of the <data> tag merge the introspected schema with the 
one read from the input files.  This way the schema contains constraint 
information even if the backed does not support constraint introspection 
(as long as it is provided by the gsd then).


Modified: trunk/gnue-common/src/datasources/readgsd.py
===================================================================
--- trunk/gnue-common/src/datasources/readgsd.py        2007-03-29 17:36:19 UTC 
(rev 9453)
+++ trunk/gnue-common/src/datasources/readgsd.py        2007-03-30 06:55:31 UTC 
(rev 9454)
@@ -357,6 +357,7 @@
 
         # First fetch the current schema from the backend
         self._current = self.connection.readSchema()
+        self._schema.merge(self._current)
 
         tables = {}
         pkeys  = {}



_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to