# HG changeset patch # User Sylvain Thénault # Date 1422911100 -3600 # Node ID cc4b8021bdf3939fa04127d5f5eec008da8ec0f4 # Parent 252e8f7ff9eaf5c1f1df6fe55beca837ae311ebf [schemaserial] fix detection of CWComputedRType table, closes #4901150 diff -r 252e8f7ff9ea -r cc4b8021bdf3 server/schemaserial.py --- a/server/schemaserial.py Fri Jan 30 15:43:28 2015 +0100 +++ b/server/schemaserial.py Mon Feb 02 22:05:00 2015 +0100 @@ -90,8 +90,8 @@ # Computed Rtype with cnx.ensure_cnx_set: - tables = set(dbhelper.list_tables(cnx.cnxset.cu)) - has_computed_relations = 'cw_CWComputedRType' in tables + tables = set(t.lower() for t in dbhelper.list_tables(cnx.cnxset.cu)) + has_computed_relations = 'cw_cwcomputedrtype' in tables if has_computed_relations: rset = cnx.execute( 'Any X, N, R, D WHERE X is CWComputedRType, X name N, '