Re: [sqlite] rtree module crashes
Hi Dan, sorry, but I do not have any access to the page, I think. Hartwig Am 04.07.2008 um 17:00 schrieb Dan: > > On Jul 4, 2008, at 9:24 PM, Hartwig Wiesmann wrote: > >> Hi, >> >> I posted a while ago the mail attached below but did not receive any >> answer. If there is any better place to discuss it please let me >> know. >> >> When I compile SQLite using SQLITE_ENABLE_RTREE set to 1 SQLite will >> crash when opening a database (Mac OSX). The reason seems to be that >> in rtree.c sqlite3ext.h is included instead of sqlite3.h. This can be >> prevented by setting SQLITE_CORE to 1 but then the types i64, u8 etc. >> are undefined. >> >> So, my solution: >> >> SQLITE_ENABLE_RTREE set to 1 >> SQLITE_CORE set to 1 >> and define i64, u8 etc. in all cases. >> >> Did I do anything wrong? > > See here: > > http://sqlite.org:8080/cgi-bin/mailman/private/sqlite-users/2008- > June/004005.html > > Dan. > > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] rtree module crashes
On Jul 4, 2008, at 9:24 PM, Hartwig Wiesmann wrote: > Hi, > > I posted a while ago the mail attached below but did not receive any > answer. If there is any better place to discuss it please let me know. > > When I compile SQLite using SQLITE_ENABLE_RTREE set to 1 SQLite will > crash when opening a database (Mac OSX). The reason seems to be that > in rtree.c sqlite3ext.h is included instead of sqlite3.h. This can be > prevented by setting SQLITE_CORE to 1 but then the types i64, u8 etc. > are undefined. > > So, my solution: > > SQLITE_ENABLE_RTREE set to 1 > SQLITE_CORE set to 1 > and define i64, u8 etc. in all cases. > > Did I do anything wrong? See here: http://sqlite.org:8080/cgi-bin/mailman/private/sqlite-users/2008- June/004005.html Dan. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] rtree module crashes
Hi Hartwig, You have not specified how you are trying to build SQLite, but if you are trying to build from the amalgamation then this link may be relevant: http://www.nabble.com/-DSQLITE_OMIT_TRIGGER-to18075526.html#a18075989 Rgds, Simon 2008/7/4 Hartwig Wiesmann <[EMAIL PROTECTED]>: > Hi, > > I posted a while ago the mail attached below but did not receive any > answer. If there is any better place to discuss it please let me know. > > When I compile SQLite using SQLITE_ENABLE_RTREE set to 1 SQLite will > crash when opening a database (Mac OSX). The reason seems to be that > in rtree.c sqlite3ext.h is included instead of sqlite3.h. This can be > prevented by setting SQLITE_CORE to 1 but then the types i64, u8 etc. > are undefined. > > So, my solution: > > SQLITE_ENABLE_RTREE set to 1 > SQLITE_CORE set to 1 > and define i64, u8 etc. in all cases. > > Did I do anything wrong? > > Hartwig > > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] rtree module crashes
Hi, I posted a while ago the mail attached below but did not receive any answer. If there is any better place to discuss it please let me know. When I compile SQLite using SQLITE_ENABLE_RTREE set to 1 SQLite will crash when opening a database (Mac OSX). The reason seems to be that in rtree.c sqlite3ext.h is included instead of sqlite3.h. This can be prevented by setting SQLITE_CORE to 1 but then the types i64, u8 etc. are undefined. So, my solution: SQLITE_ENABLE_RTREE set to 1 SQLITE_CORE set to 1 and define i64, u8 etc. in all cases. Did I do anything wrong? Hartwig ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] rtree module crashes
On Jun 29, 2008, at 3:02 AM, Hartwig Wiesmann wrote: > When I compile SQLite using SQLITE_ENABLE_RTREE set to 1 SQLite will > crash when opening a database (Mac OSX). The reason seems to be that > in rtree.c sqlite3ext.h is included instead of sqlite3.h. This can be > prevented by setting SQLITE_CORE to 1 but then the types i64, u8 etc. > are undefined. > > So, my solution: > > SQLITE_ENABLE_RTREE set to 1 > SQLITE_CORE set to 1 > and define i64, u8 etc. in all cases. > > Did I do anything wrong? That will probably work. The problem with the i64, u8 types not being defined was fixed here: http://www.sqlite.org/cvstrac/chngview?cn=5282 After this fix, you should be Ok with just SQLITE_ENABLE_RTREE and SQLITE_CORE defined. Dan. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] rtree module crashes
When I compile SQLite using SQLITE_ENABLE_RTREE set to 1 SQLite will crash when opening a database (Mac OSX). The reason seems to be that in rtree.c sqlite3ext.h is included instead of sqlite3.h. This can be prevented by setting SQLITE_CORE to 1 but then the types i64, u8 etc. are undefined. So, my solution: SQLITE_ENABLE_RTREE set to 1 SQLITE_CORE set to 1 and define i64, u8 etc. in all cases. Did I do anything wrong? Hartwig ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users