I want to read the mem when the program is inside the sqlite3VdbeExec() function and in case OP_Insert.
Here the mem consists of entire row to be inserted. When I read the mem *pData, I found from the member pData->flags that it contains a BLOB. But when I tried to print BLOB in pData->z, I didnt get correct results. How to print a BLOB? I tried to print the contents in it by performing a deep copy of that mem and converting it to real value using sqlite3VdbeRealValue(). But no satisfactory result. Can someone kindly help me how to get data from mem?