[sqlite] Error while copying the contents of VdbeOp object

2015-05-29 Thread Sairam Gaddam
How to correctly copy the contents of original VdbeOp aOp which is created by SQlite for some query into another custom VdbeOp object. I tried by normally copying the contents one by one but it resulted in errors. And how to correctly allocate memory to the custom VdbeOp object and how to free th

[sqlite] Error while copying the contents of VdbeOp object

2015-05-29 Thread Richard Hipp
On 5/29/15, Sairam Gaddam wrote: > How to correctly copy the contents of original VdbeOp aOp which is created > by SQlite for some query into another custom VdbeOp object. You cannot, in general, do that. The P4 operand often contains information that must be freed when no longer needed, meaning