Re: [sqlite] sqlite3 struct etc

2006-05-20 Thread Micha Bieber
> It is not a smart technique to assume that you can access underlying > data structures and expect them to remain identically placed between > releases. What do you think, was my reason to ask, whether these structures are public and stable or not ... ;-) Micha --

Re: [sqlite] sqlite3 struct etc

2006-05-20 Thread John Stanton
Micha Bieber wrote: Thursday, May 18, 2006, 17:36:53, Jay Sprenkle wrote: Since you pass that in to begin with, why do you need the database to provide information you already have? Thats by design (tm), but it might be not the best one. For performance reasons I have splitted my project

Re: [sqlite] sqlite3 struct etc

2006-05-20 Thread John Stanton
Maybe you are too C++ orientated. You have no need to touch any Sqlite structure, that is what the API does. Just use it. JS Micha Bieber wrote: @list Maybe I'm too C++ biased - but what is the state of the sqlite3 and similar - e.g. 'Db' - structures in sqlites C-Interface ? Is this

Re: [sqlite] sqlite3 struct etc

2006-05-18 Thread drh
Micha Bieber <[EMAIL PROTECTED]> wrote: > @list > > Maybe I'm too C++ biased - but what is the state of the sqlite3 and > similar - e.g. 'Db' - structures in sqlites C-Interface ? Is this > considered 'public' and also stable or indicates the missing > documentation (at least I've found nothing

Re: [sqlite] sqlite3 struct etc

2006-05-18 Thread Micha Bieber
Thursday, May 18, 2006, 17:36:53, Jay Sprenkle wrote: > Since you pass that in to begin with, why do you need the database > to provide information you already have? Thats by design (tm), but it might be not the best one. For performance reasons I have splitted my project in a way, requiring 2

Re: [sqlite] sqlite3 struct etc

2006-05-18 Thread Jay Sprenkle
> but seriously, it's a black box that you don't need to pry open to use Sqlite. Something of course, was driving me in posting the question - it was programmers laziness, as usual :-) In this case, it was the databases filename, available from one of the mentioned structures. There are other

Re: [sqlite] sqlite3 struct etc

2006-05-18 Thread Jay Sprenkle
On 5/18/06, Micha Bieber <[EMAIL PROTECTED]> wrote: Maybe I'm too C++ biased - but what is the state of the sqlite3 and similar - e.g. 'Db' - structures in sqlites C-Interface ? Is this considered 'public' and also stable or indicates the missing documentation (at least I've found nothing apart

[sqlite] sqlite3 struct etc

2006-05-18 Thread Micha Bieber
@list Maybe I'm too C++ biased - but what is the state of the sqlite3 and similar - e.g. 'Db' - structures in sqlites C-Interface ? Is this considered 'public' and also stable or indicates the missing documentation (at least I've found nothing apart from the sources) not to use them in user code