let rel_tbl = MetadataTypes.library_rel_tbl in
let name_tbl = MetadataTypes.library_name_tbl in
let count_tbl = MetadataTypes.library_count_tbl in
+ let hits_tbl = MetadataTypes.library_hits_tbl in
let obj_tbl_b = obj_tbl ^ "_BACKUP" in
let sort_tbl_b = sort_tbl ^ "_BACKUP" in
let rel_tbl_b = rel_tbl ^ "_BACKUP" in
(rel_tbl_c,rel_tbl);
(name_tbl_c,name_tbl);
(count_tbl_c,count_tbl) ] @
+ SqlStatements.create_tables [
+ (hits_tbl,`Hits) ] @
+ SqlStatements.fill_hits obj_tbl hits_tbl @
SqlStatements.create_indexes [
(obj_tbl,`RefObj);
(sort_tbl,`RefSort);
(rel_tbl,`RefRel);
(name_tbl,`ObjectName);
- (count_tbl,`Count) ]
+ (count_tbl,`Count);
+ (hits_tbl,`Hits) ]
in
List.iter (fun statement ->
try