commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9454 - trunk/gnue-common/src/datasources


From: johannes
Subject: [gnue] r9454 - trunk/gnue-common/src/datasources
Date: Fri, 30 Mar 2007 01:55:32 -0500 (CDT)

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  = {}





reply via email to

[Prev in Thread] Current Thread [Next in Thread]