MySQL Forums
Forum List  »  Custom Storage Engines

getting NULL value in uchar * buf in write_row(uchar *buf)
Posted by: Abhishek Varshney
Date: October 29, 2012 12:01AM

Hi,

I am trying to write a custom storage engine. I have successfully implemented the create(), store_lock(), open() and rnd_init() functions following the guidelines from example storage engine. My implementation also more or less looks the same as in example storage engine. Now I wish to implement the write_row() function.
After successfully creating a table (through create table statement), I am trying to get uchar * buf from write_row(), but buf points to NULL everytime I try to debug this function. Also table->records[0] also gives NULL. Please help.

Thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
getting NULL value in uchar * buf in write_row(uchar *buf)
5087
October 29, 2012 12:01AM


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.