Kill_the_Bug
aa
- Oct 6, 2008
- 1,969
- 451
Any updates on the mapping discussion forum? I'm noticing a couple of missign posts.
Ah. So it sounds like my guess was partially right; the column that holds the "what forum does this thread go in" ID had all of its values set to the same number. I bet that could have been fixed with a little SQL-fu without resorting to rolling back the whole forum, honestly. It would just be a matter of copying the associations from the backup and then moving the leftover threads manually.
Yup, but they seem to be too lazy to do that.
retrieve thread #'s and subforum association #'s from the threads table in the old DB
store that mess in an array
for each row in the array:
- find the row in the current DB with the same thread #
- set the subforum association # in the current DB to the one in that row of the array
Now that we've already started running off the backup, though, it's gotten a lot more complicated, because now we've got all the posts and threads that have been made since the rollback, which have the same #'s as the lost posts. Off the top of my head I'm not sure what we'd do about those.
Yyler doesn't want the old posts back because he matrix dodged his infraction thanks to Frozen's twitch.
I shouldn't have gotten one anyway.
6-12 Never forget.