Empty commit

This commit is contained in:
Git 2011-10-03 08:00:13 +00:00
parent 75392b6888
commit 261a8ce9b5
2 changed files with 2 additions and 18 deletions

View File

@ -591,7 +591,7 @@ CREATE TABLE `sphinx_delta` (
`RemasterCatalogueNumber` varchar(50) DEFAULT NULL,
`FileList` mediumtext,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `sphinx_hash` (
`ID` int(10) NOT NULL,
@ -623,7 +623,7 @@ CREATE TABLE `sphinx_hash` (
`RemasterCatalogueNumber` varchar(50) DEFAULT NULL,
`FileList` mediumtext,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `sphinx_requests` (
`ID` int(10) unsigned NOT NULL AUTO_INCREMENT,

View File

@ -642,22 +642,6 @@
update_hash($GroupID);
//More freeleech
$DB->query("SELECT Encoding FROM sphinx_delta WHERE ID = ".$GroupID);
if($DB->record_count() > 0) {
list($GroupEncoding) = $DB->next_record();
} else {
$DB->query("SELECT Encoding FROM sphinx_hash WHERE ID = ".$GroupID);
list($GroupEncoding) = $DB->next_record();
}
/*if(strpos($GroupEncoding, "V0") !== false && strpos($GroupEncoding, "V2") !== false && strpos($GroupEncoding, "Lossless") !== false && strpos($GroupEncoding, "320") !== false) {
//Contains all 3!
$DB->query("UPDATE torrents SET freetorrent = '1', FreeLeechType = '1', flags = 2 WHERE GroupID = ".$GroupID);
$Cache->increment('stats_complete_count');
}*/