From: Abhishek Varshney Date: October 29 2012 10:05am Subject: getting NULL value in uchar * buf in write_row(uchar *buf) List-Archive: http://lists.mysql.com/internals/38622 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 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 every time I try to debug this function. Also table->record[0] also gives NULL. Please help. Thanks Abhishek Varshney