On Sun, 3 Jul 2016 05:23:48 AM Christoph Biedl wrote:
> tags 751826 upstream moreinfo
> thanks
> 
> Russell Coker wrote...
> 
> > The /etc/magic attached to this bug report has better matches for MySQL
> > database files which provide all the information I could find.
> 
> Thanks for you input. It's been some time, still I'm quite interested
> in bringing this upstream.
> 
> As I did some re-ordering and formatting changes, I'm asking you to
> test the result, assuming you still have a lot of example files
> available (I don't). So can you please re-recheck using the provided
> magic file? That would be
> 
>     file -m /path/to/sql /path/to/your/examples/*

>14     beshort                 x               \b, %d key parts,
>16     beshort                 x               \b, %d unique key parts,
>18     byte                    x               \b, %d keys,
>28     bequad                  x               \b, %lld records,

The above lines have commas at the start and end, this gives output like the 
following with double commas which looks odd:

mysql/columns_priv.MYI:              MySQL MyISAM index file Version 1, 5 key 
parts,, 0 unique key parts,, 1 keys,, 0 records,, 0 deleted records
mysql/db.MYI:                        MySQL MyISAM index file Version 1, 4 key 
parts,, 0 unique key parts,, 2 keys,, 0 records,, 0 deleted records
mysql/event.MYI:                     MySQL MyISAM index file Version 1, 2 key 
parts,, 0 unique key parts,, 1 keys,, 0 records,, 0 deleted records
mysql/func.MYI:                      MySQL MyISAM index file Version 1, 1 key 
parts,, 0 unique key parts,, 1 keys,, 0 records,, 0 deleted records
mysql/help_category.MYI:             MySQL MyISAM index file Version 1, 2 key 
parts,, 0 unique key parts,, 2 keys,, 40 records,, 0 deleted records
mysql/help_keyword.MYI:              MySQL MyISAM index file Version 1, 2 key 
parts,, 0 unique key parts,, 2 keys,, 470 records,, 0 deleted records
mysql/help_relation.MYI:             MySQL MyISAM index file Version 1, 2 key 
parts,, 0 unique key parts,, 1 keys,, 1050 records,, 0 deleted records

But it's still a lot better than what's currently in Debian.

> > In the section for the MyISAM index file I have two commented lines
> > (...)
> 
> Um, I don't see that ...

I don't know how I missed that.  But now I don't even know which system I used 
to submit the bug and can't find it any more.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

Reply via email to