Remove call to sqlite3_initialize
commit739de4e854ef34b9e3097996871ffe4b3a772475
authorOlivier Ramonat <olivier@ramonat.fr>
Fri, 9 Jan 2009 23:03:41 +0000 (10 00:03 +0100)
committerOlivier Ramonat <olivier@ramonat.fr>
Sat, 10 Jan 2009 10:43:25 +0000 (10 11:43 +0100)
tree597cc513c7671a79c800d3c95677e7259cf874b4
parentd1b3aaf0a70d452fe77acb6a86ff2012b2d763fd
Remove call to sqlite3_initialize

The sqlite3_initialize() routine is called internally by many
other SQLite interfaces so that an application usually does not
need to invoke sqlite3_initialize() directly. For example,
sqlite3_open() calls sqlite3_initialize() so the SQLite library
will be automatically initialized when sqlite3_open() is called
if it has not be initialized already.

However, if SQLite is compiled with the SQLITE_OMIT_AUTOINIT
compile-time option, then the automatic calls to
sqlite3_initialize() are omitted and the application must call
sqlite3_initialize() directly prior to using any other SQLite
interface. For maximum portability, it is recommended that
applications always invoke sqlite3_initialize() directly prior
to using any other SQLite interface. Future releases of SQLite
may require this. In other words, the behavior exhibited when
SQLite is compiled with SQLITE_OMIT_AUTOINIT might become the
default behavior in some future release of SQLite.
src/sqlite3_h.ads