Re: [sqlite] Reading the VDBE program

2010-03-23 Thread Navaneeth Sen B
Hello all, So what you guys suggest is to stop studying the SQLite internals, jump to the programming area and get to my aim. Thankyou all for your suggestions :-) Regards, *Navaneeth Sen B.* On 3/23/2010 6:46 PM, Pavel Ivanov wrote: >> The best way to make a wrapper round SQLite is to use its

Re: [sqlite] Reading the VDBE program

2010-03-23 Thread Pavel Ivanov
> The best way to make a wrapper round SQLite is to use its > API, which is generally thought of as "programming using SQLite". I agree with that. And to make a good wrapper without changing SQLite itself you don't need to know the most part of SQLite's internals, especially you don't ever need to

Re: [sqlite] Reading the VDBE program

2010-03-23 Thread Hamish Allan
On Tue, Mar 23, 2010 at 1:02 PM, Navaneeth Sen B wrote: > My ultimate aim is not to program using SQLite. > I just want to know the internals of it? How it works? > How i can make a new wrapper around it so that my exsisting applications > can use it without huge changes.. The first and third of

Re: [sqlite] Reading the VDBE program

2010-03-23 Thread Navaneeth Sen B
Hi Pavel, You are right it contains sqlite3.c and sqlite3.h. "if you run Linux then I believe SQLite can be compiled and work right away without any additional platform-specific tuning and learning of internal magic. ;-)" My ultimate aim is not to program using SQLite. I just want to know the int

Re: [sqlite] Reading the VDBE program

2010-03-23 Thread Pavel Ivanov
>     The first one does not include any source files. Are you sure about that? First archive should contain one source file - sqlite3.c which is enough to compile SQLite at least in standard configuration. And btw, if you run Linux then I believe SQLite can be compiled and work right away without

Re: [sqlite] Reading the VDBE program

2010-03-23 Thread Navaneeth Sen B
No, I was just trying to study how the whole magic happens when you do the steps. My ultimate aim is to port this to a mips platform running linux on it. I donno whether it will be helpful for my purpose. Another doubt is that i have downloaded two tar balls from the site. 1. sqlite-amalgamat

Re: [sqlite] Reading the VDBE program

2010-03-23 Thread Pavel Ivanov
Just out of curiosity: what are you need it for? Do you think that it's necessary to use SQLite properly? Pavel On Tue, Mar 23, 2010 at 8:01 AM, Navaneeth Sen B wrote: > Hello all, > > I am new to SQLite software. I have understood the structure of SQLite > as described in the "Architecture of S

[sqlite] Reading the VDBE program

2010-03-23 Thread Navaneeth Sen B
Hello all, I am new to SQLite software. I have understood the structure of SQLite as described in the "Architecture of SQLite" manual. I am now reading the document named "The Virtual Database Engine of SQLite" which I got from the SQLite site. Currently i am working on Fedora 11 machine with SQ