Hi, I want to omits the Sqlite's internal invocation of malloc(3). What I tried were following,
1. Provide sqlite compile time options "-DSQLITE_ZERO_MALLOC -DSQLITE_ENABLE_MEMSYS5" 2. In the startup code of my application, call: sqlite3_config(SQLITE_CONFIG_HEAP, my_static_array, ...) Do you think what I did are right? By far, the problem I met was that I cannot successfully compile the sqlite library. It reports sqlite3MemMalloc, sqlite3MemFree family of functions get redefined. After short check, I found the reason is the mem0.c and mem1.c both got included. I think this is not right because mem1.c is using malloc() which is what I want to avoid. Could someone please help me? Thanks in advance. -- Life is the only flaw in an otherwise perfect nonexistence -- Schopenhauer narke public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com) _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users