On Mon, Jul 04, 2011 at 04:37:10PM +0530, trilok nuwal scratched on the wall: > Hi All, > > I want to use SQLite for one of the application which runs on a embedded > system where we have memory limitations. > > In the SQLite we have around 180+ distinct APIs, but not all APIs we are > going to use it.
APIs themselves don't really represent much bulk. You'll notice that many of the APIs are small variations on a theme (like the "bind" functions), making the numbers add up quickly. That said, there are some functional areas that take up some bulk, and may not be required for your situation. Many of these can be compiled out using the "OMIT" build directives: http://www.sqlite.org/compile.html#omitfeatures Just be sure you read the notes carefully... mainly that the OMIT defines are designed to be used against the canonical source code. That means building from the source tree, including the parser code. Also note that none of the OMIT flags are officially supported, none of them are tested, and, for any given version of the source code, various combos of OMIT defines are likely to break things. If you're using an extensive number of OMIT flags, a bit of code clean-up may be required. -j -- Jay A. Kreibich < J A Y @ K R E I B I.C H > "Intelligence is like underwear: it is important that you have it, but showing it to the wrong people has the tendency to make them feel uncomfortable." -- Angela Johnson _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users