--- a/server/__init__.py Tue Mar 09 10:48:46 2010 +0100
+++ b/server/__init__.py Tue Mar 09 10:49:57 2010 +0100
@@ -145,12 +145,9 @@
# can't skip entities table even if system source doesn't support them,
# they are used sometimes by generated sql. Keeping them empty is much
# simpler than fixing this...
- if sqlcnx.logged_user != source['db-user']:
- schemasql = sqlschema(schema, driver, user=source['db-user'])
- else:
- schemasql = sqlschema(schema, driver)
- #skip_entities=[str(e) for e in schema.entities()
- # if not repo.system_source.support_entity(str(e))])
+ schemasql = sqlschema(schema, driver)
+ #skip_entities=[str(e) for e in schema.entities()
+ # if not repo.system_source.support_entity(str(e))])
sqlexec(schemasql, execute, pbtitle=_title)
sqlcursor.close()
sqlcnx.commit()