server/sqlutils.py
changeset 10125 bc6461a7d2da
parent 10086 98bc2ca1a816
child 10200 cceb2c7c02f4
child 10375 28ec01db78b3
--- a/server/sqlutils.py	Fri Dec 19 12:08:01 2014 +0100
+++ b/server/sqlutils.py	Wed Dec 03 16:29:16 2014 +0100
@@ -312,10 +312,11 @@
         dbpassword = source_config.get('db-password')
         dbencoding = source_config.get('db-encoding', 'UTF-8')
         dbextraargs = source_config.get('db-extra-arguments')
+        dbnamespace = source_config.get('db-namespace')
         self.dbhelper = db.get_db_helper(self.dbdriver)
         self.dbhelper.record_connection_info(dbname, dbhost, dbport, dbuser,
                                              dbpassword, dbextraargs,
-                                             dbencoding)
+                                             dbencoding, dbnamespace)
         self.sqlgen = SQLGenerator()
         # copy back some commonly accessed attributes
         dbapi_module = self.dbhelper.dbapi_module