added some code to give some feedback once in a while (per 5000 records, for now)

This commit is contained in:
toyomoyo
2006-03-07 04:36:55 +00:00
parent 6c1a3ce7db
commit 653c0596de
+7 -3
View File
@@ -370,9 +370,13 @@ function db_migrate2utf8(){ //Eloy: Perhaps some type of limit parameter here
print_continue('utfdbmigrate.php?confirm=1&maxrecords='.$maxrecords.'&sesskey='.sesskey());
print_footer();
die();
} else {
$processedrecords++;
}
}
}
$processedrecords++;
//print some output once in a while
if (($processedrecords) % 5000 == 0) {
echo '...'.$dbtablename.'...'.$fieldname.'...'.$record->id;
}
}
}