Permalink
Browse files

update

  • Loading branch information...
1 parent 07df1ec commit 10bf697aec89e8d555014496072cf8ae1f18f0ab @pudge pudge committed Nov 24, 2008
Showing with 8 additions and 0 deletions.
  1. +8 −0 sql/mysql/upgrades
View
8 sql/mysql/upgrades
@@ -5688,5 +5688,13 @@ UPDATE vars SET value = 'T_2_5_0_231' WHERE name = 'cvs_tag_currentcode';
# SLASHCODE/USEPERL LAST UPDATED HERE
+UPDATE firehose SET public="yes" WHERE type="journal";
+
+create temporary table firehose_deletedjournal (id int unsigned not null primary key);
+insert ignore into firehose_deletedjournal select firehose.id from firehose left join journals on (firehose.srcid=journals.id) where firehose.type='journal' and journals.id is null;
+update firehose, firehose_deletedjournal set firehose.public='no' where firehose.id=firehose_deletedjournal.id;
+drop table firehose_deletedjournal;
+
# SLASHDOT LAST UPDATED HERE
+

0 comments on commit 10bf697

Please sign in to comment.