Re: [Banshee-List] [banshee/podcast-ng] [database] Changed index names to more accurately reflect intent.



Gabriel,

> Did you remember to update the code the creates a db from scratch with
> these new db names?

Good catch.  

I tested this with a clean install and thought that the migration was
run...  Turns out there was just an index w\ a similar name.

~Mike

> On Sun, Apr 11, 2010 at 7:57 PM, Michael C. Urbanski
> <murbanski src gnome org> wrote:
> > commit 4f02a149605e30d76a900f84aa24f8c79ce983a5
> > Author: Mike Urbanski <michael c urbanski gmail com>
> > Date:   Sun Apr 11 21:53:27 2010 -0500
> >
> >    [database] Changed index names to more accurately reflect intent.
> >
> >  .../Banshee.Database/BansheeDbFormatMigrator.cs    |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> > ---
> > diff --git a/src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs b/src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs
> > index b1fde15..55d29a4 100644
> > --- a/src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs
> > +++ b/src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs
> > @@ -927,8 +927,8 @@ namespace Banshee.Database
> >         [DatabaseVersion (42)]
> >         private bool Migrate_42 ()
> >         {
> > -            Execute ("CREATE INDEX IF NOT EXISTS CoreAlbumIDIndex ON CoreAlbums (AlbumID, ArtistID)");
> > -            Execute ("CREATE INDEX IF NOT EXISTS CoreTracksArtistsAlbumIDIndex ON CoreTracks (AlbumID, ArtistID, ExternalID, PrimarySourceID)");
> > +            Execute ("CREATE INDEX IF NOT EXISTS CoreAlbumArtistIndex ON CoreAlbums (AlbumID, ArtistID)");
> > +            Execute ("CREATE INDEX IF NOT EXISTS CoreTracksArtistAlbumSourceIndex ON CoreTracks (AlbumID, ArtistID, ExternalID, PrimarySourceID)");
> >             return true;
> >         }
> >
> > _______________________________________________
> > commits-list mailing list (read only)
> > http://mail.gnome.org/mailman/listinfo/commits-list
> >
> > Want to limit the commits to a few modules? Go to above URL, log in to edit your options and select the modules ('topics') you want.
> >
> _______________________________________________
> banshee-list mailing list
> banshee-list gnome org
> http://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]