tokudb.bugs.5585 introduced in commit 6db430401b710e904fd09935d546f23c6ab883b4 (Feb 24, 2013) as a test for commit :
Which is in the ha_tokudb::info function :
Is entirely and unnecessarily too big for what it intends to test.
It could easily be argued that this is already tested as part of the tokudb.card_* tests.
Shorten this test to a reasonable length that doesn't need millions of rows to prove its point.
Removed millions of insane row insertions used to get an "EXPLAIN SELECT ..." result. Test went from around 25 minutes to complete to around 25 seconds while producing the same exact "EXPLAIN SELECT ..." results.