equal
deleted
inserted
replaced
134 # attribute to their current value |
134 # attribute to their current value |
135 source = repo.system_source |
135 source = repo.system_source |
136 for eschema in etypes: |
136 for eschema in etypes: |
137 rset = session.execute('Any X WHERE X is %s' % eschema) |
137 rset = session.execute('Any X WHERE X is %s' % eschema) |
138 source.fti_index_entities(session, rset.entities()) |
138 source.fti_index_entities(session, rset.entities()) |
|
139 # clear entity cache to avoid high memory consumption on big tables |
|
140 session.drop_entity_cache() |
139 if withpb: |
141 if withpb: |
140 pb.update() |
142 pb.update() |
141 |
143 |
142 |
144 |
143 def check_schema(schema, session, eids, fix=1): |
145 def check_schema(schema, session, eids, fix=1): |