Fixed csvexport to write in primary key order.
authorEevee <git@veekun.com>
Mon, 27 Jul 2009 05:19:27 +0000 (22:19 -0700)
committerEevee <git@veekun.com>
Mon, 27 Jul 2009 05:19:27 +0000 (22:19 -0700)
commitf612f0704952532a19e3eb49fcd862c49afa1489
treea18091dc3865d5b3ed77f55b957c4fbe6dddb0bc
parent0b37ca809fe5f1c97b76f4e3e8a398caa40935fb
Fixed csvexport to write in primary key order.

Good news: This no longer relies on InnoDB's default row order.

Bad news: InnoDB in MySQL 5.0 has a bug where it will sort rows
physically according to a secondary index, if there's a composite
primary key and a single-column index and the phase of the moon is
right.  So a couple tables have been, once again, reordered -- but
correctly this time.

Good news: This bug will no longer fuck me up!
pokedex/__init__.py
pokedex/data/csv/pokemon_abilities.csv
pokedex/data/csv/pokemon_egg_groups.csv
pokedex/data/csv/pokemon_types.csv