mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-15 03:46:25 +00:00
4 lines
228 B
PHP
4 lines
228 B
PHP
|
SET @vhid = (SELECT `ID` FROM `tags` WHERE `name` = 'vanity.house');
|
||
|
|
||
|
UPDATE torrents_group SET VanityHouse = (SELECT COUNT(*) FROM torrents_tags WHERE torrents_tags.TagID = @vhid AND torrents_tags.GroupID = torrents_group.ID);
|