From 7033b0a141f65fd75b435a6f71325ca67f19db61 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Mon, 18 Jul 2005 14:37:19 +0000 Subject: [PATCH] ANALYZE TABLE ==> OPTIMIZE TABLE --- helm/ocaml/metadata/metadataDb.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/ocaml/metadata/metadataDb.ml b/helm/ocaml/metadata/metadataDb.ml index f18787e83..84e8fad71 100644 --- a/helm/ocaml/metadata/metadataDb.ml +++ b/helm/ocaml/metadata/metadataDb.ml @@ -169,7 +169,7 @@ let eventually_analyze dbd = incr analyze_index; if !analyze_index > 30 then begin - let analyze t = "ANALYZE TABLE " ^ t ^ ";" in + let analyze t = "OPTIMIZE TABLE " ^ t ^ ";" in List.iter (fun table -> ignore (Mysql.exec dbd (analyze table))) [name_tbl (); rel_tbl (); sort_tbl (); obj_tbl(); count_tbl()] -- 2.39.2