server/checkintegrity.py
branchstable
changeset 5693 8af6623f3d4e
parent 5523 4bf975c049a6
child 5850 fabff2813ee4
equal deleted inserted replaced
5692:59ceed788bdb 5693:8af6623f3d4e
    94     # to be updated due to the reindexation
    94     # to be updated due to the reindexation
    95     repo = session.repo
    95     repo = session.repo
    96     cursor = session.pool['system']
    96     cursor = session.pool['system']
    97     if not repo.system_source.dbhelper.has_fti_table(cursor):
    97     if not repo.system_source.dbhelper.has_fti_table(cursor):
    98         print 'no text index table'
    98         print 'no text index table'
    99         dbhelper.init_fti(cursor)
    99         repo.system_source.dbhelper.init_fti(cursor)
   100     repo.system_source.do_fti = True  # ensure full-text indexation is activated
   100     repo.system_source.do_fti = True  # ensure full-text indexation is activated
   101     etypes = set()
   101     etypes = set()
   102     for eschema in schema.entities():
   102     for eschema in schema.entities():
   103         if eschema.final:
   103         if eschema.final:
   104             continue
   104             continue