[banshee] Update the list of tables with indexes, to avoid useless ANALYZE calls
- From: Bertrand Lorentz <blorentz src gnome org>
- To: svn-commits-list gnome org
- Subject: [banshee] Update the list of tables with indexes, to avoid useless ANALYZE calls
- Date: Mon, 25 May 2009 18:40:11 -0400 (EDT)
commit 03dee5b19d5005e73082e9fc0b4fdd01099e6dea
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Tue May 26 00:31:53 2009 +0200
Update the list of tables with indexes, to avoid useless ANALYZE calls
The only index on the CoreSmartPlaylistEntries table was removed in
commit 23274f2ca744391ef3f54e044eb2f7399aa457ff, so it can be removed
from the list.
---
.../Banshee.Database/BansheeDbConnection.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Core/Banshee.Services/Banshee.Database/BansheeDbConnection.cs b/src/Core/Banshee.Services/Banshee.Database/BansheeDbConnection.cs
index 1cbb4d6..0a1f82c 100644
--- a/src/Core/Banshee.Services/Banshee.Database/BansheeDbConnection.cs
+++ b/src/Core/Banshee.Services/Banshee.Database/BansheeDbConnection.cs
@@ -94,7 +94,7 @@ namespace Banshee.Database
bool needs_analyze = false;
long analyze_threshold = configuration.Get<long> ("Database", "AnalyzeThreshold", 100);
string [] tables_with_indexes = {"CoreTracks", "CoreArtists", "CoreAlbums",
- "CorePlaylistEntries", "CoreSmartPlaylistEntries", "PodcastItems", "PodcastEnclosures",
+ "CorePlaylistEntries", "PodcastItems", "PodcastEnclosures",
"PodcastSyndications", "CoverArtDownloads"};
if (TableExists ("sqlite_stat1")) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]