Minor update to topic syncing section for updating from early revisions.

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3185 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-12-10 18:26:30 +00:00
parent 1812ce9066
commit afe3c78113

View file

@ -660,7 +660,8 @@ switch ( $row['config_value'] )
$sql = "SELECT topic_id, topic_moved_id $sql = "SELECT topic_id, topic_moved_id
FROM " . TOPICS_TABLE . " FROM " . TOPICS_TABLE . "
WHERE topic_moved_id <> 0"; WHERE topic_moved_id <> 0
AND topic_status = " . TOPIC_MOVED;
$result = _sql($sql, $errored, $error_ary); $result = _sql($sql, $errored, $error_ary);
$topic_ary = array(); $topic_ary = array();
@ -820,6 +821,7 @@ switch ( $row['config_value'] )
} }
unset($update_list); unset($update_list);
} }
$db->sql_freeresult($result);
// Optimize/vacuum analyze the tables where appropriate // Optimize/vacuum analyze the tables where appropriate
switch (SQL_LAYER) switch (SQL_LAYER)