On Sat, Oct 20, 2012 at 10:41 PM, Igor Korot <ikoro...@gmail.com> wrote: > Hi, ALL, > According to http://www.sqlite.org/foreignkeys.html the FOREIGN KEY > support is disabled by default. > In order to enable it I need to compile SQLITE with 2 defines undefined.
Which also undefined by default. Any SQLITE_OMIT_* define is undefined by default. > I downloaded the file sqlite-amalgamation-3071400.zip, unpacked it, > added .c and .h file to my project > and inspected them. > > SQLITE_OMIT_FOREIGN_KEY can not be found in both .h files and I don't > see the #define of this constant > anywhere in the .c file. > > Is foreign key documentation outdated? Nope, everything is right. > Also one minor question: do I need both .h files or just one will suffice? Would be nice to know what names those both .h files have. But generally speaking sqlite3.h should be enough. Pavel _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users