There is no easy way to do this, I'm afraid.
Temporary tables will be stored in your specified mysqld temporary directory (usually / tmp), and you will see a set of tables like this:
-rw-rw---- 1 mysql mysql 8724 Nov 29 18:09 #sqldba_5fa70c_12f1.frm -rw-rw---- 1 mysql mysql 188408 Nov 29 18:09 #sqldba_5fa70c_12f1.MYD -rw-rw---- 1 mysql mysql 1024 Nov 29 18:09 #sqldba_5fa70c_12f1.MYI
This is a normal set of MyISAM tables that define (in the order above) structure, data, and index.
This is horrible hacks, but I suspect that you can copy these tables to tell your test schema, start a repair on the table, and then view its contents.
If you can measure the process by the size of the temp table, then this may be an easier way to analyze what is happening.
James c
source share