getting NULL value in uchar * buf in write_row(uchar *buf)

Abhishek Varshney <[email protected]> Mon, 29 Oct 2012 15:35:46 +0530
Newsgroups gmane.comp.db.mysql.devel
Message-ID <CABeQQMAx53q1vpKtUG6c0ebxQx9nCskGULLML1d=-Eq1ws3zYg@mail.gmail.com>
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

-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals