- Slight performance increase in asset queries.

This commit is contained in:
JT Smith 2008-01-29 17:54:55 +00:00
parent 29045734e5
commit bff94329dc
2 changed files with 9 additions and 0 deletions

View file

@ -1,5 +1,6 @@
7.5.1
- rfe: maintenance - turn on/off maintenance mode from the command line
- Slight performance increase in asset queries.
- fix: RSS missing in message (perlDreamer Consulting, LLC.)
http://www.plainblack.com/bugs/tracker/rss-missing-in-message
- fix: Friends language error (perlDreamer Consulting, LLC.)

View file

@ -22,9 +22,17 @@ my $quiet; # this line required
my $session = start(); # this line required
removeOldPhotoGallery($session);
speedUp($session);
finish($session); # this line required
#-------------------------------------------------
sub speedUp {
my $session = shift;
print "\tSlight asset performance increase.\n" unless ($quiet);
$session->db->write("alter table assetData add index assetId_status (assetId,status)");
}
#-------------------------------------------------
sub removeOldPhotoGallery {
my $session = shift;