Re: [sqlite] Documentation for the register based VM?

2008-04-10 Thread Michael Schlenker
D. Richard Hipp schrieb: > On Apr 10, 2008, at 11:47 AM, Dennis Cote wrote: >> Michael Schlenker wrote: > > That is correct, but it is not the whole story. Registers have to be > allocated. > The canonical way to do this is to increment the Parse.nMem field. Or > one > can call

Re: [sqlite] Documentation for the register based VM?

2008-04-10 Thread D. Richard Hipp
On Apr 10, 2008, at 11:47 AM, Dennis Cote wrote: > Michael Schlenker wrote: >> >> The old code did some stowing away of values via OP_StoreMem/ >> OP_LoadMem and >> those have been replaced by OP_Copy etc. in the register VM. So how >> many >> registers are available in the VM to push away

Re: [sqlite] Documentation for the register based VM?

2008-04-10 Thread Michael Schlenker
Dennis Cote schrieb: > Michael Schlenker wrote: >> The old code did some stowing away of values via OP_StoreMem/OP_LoadMem and >> those have been replaced by OP_Copy etc. in the register VM. So how many >> registers are available in the VM to push away some intermediate results? >> > > From

Re: [sqlite] Documentation for the register based VM?

2008-04-10 Thread Dennis Cote
Michael Schlenker wrote: > > The old code did some stowing away of values via OP_StoreMem/OP_LoadMem and > those have been replaced by OP_Copy etc. in the register VM. So how many > registers are available in the VM to push away some intermediate results? > From the documentation at

[sqlite] Documentation for the register based VM?

2008-04-10 Thread Michael Schlenker
Hi all, I'm currently upgrading some stuff from an sqlite 3.2.7 to the new and shiny 3.5.7 and have some VBDE code in there that i need to port too. As expected the new register based engine does things a bit differently so I'm a little bit lost on how to use some of the stuff. The old code