MySQL Forums
Forum List  »  MyISAM

Reading Data from .MYD file
Posted by: Alain Forget
Date: April 29, 2014 07:44AM

Hello, I having some problems trying to read the data from the .MYD file. I'm developing a program that needs to read the data directly from the file. I managed to read properly the .frm, but I'm struggling with the .myd. I read pretty much all the info from the internal manuals (https://dev.mysql.com/doc/internals/en/myisam.html).

So, I am wondering, how is it possible to know which column the data belongs to. My data is mostly mediumblob using dynamic file format, and I know that there is 3 bytes for the length of the blob and then the data itself. For example, if I have 10 columns, but only 2 of those are containing data, how do we know which column contains data from the .myd file?

Thank you.

Options: ReplyQuote


Subject
Views
Written By
Posted
Reading Data from .MYD file
3516
April 29, 2014 07:44AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.