On Sep 24, James Rubino <[EMAIL PROTECTED]> wrote: > If I repopulate a mysql db with updated text files, will the new > id's be the same as the prior installation?
Good question. :-) Actually, no: movieIDs (as well as any other ID) in the database are not preserved between two runs of the imdbpy2sql.py script. The "imdbID" field is preserved, but the match is made amongst "title", "imdbIndex", "year" (where applicable) and not using the IDs. Managing the "diffs" files, you also need to preserve them: I can smell the problems a mile away... ;-) -- Davide Alberani <[EMAIL PROTECTED]> [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Imdbpy-devel mailing list Imdbpy-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-devel