Re: [sqlite] Given sqlite3_enable_load_extension(), why omit loadable extensions?

2008-02-19 Thread Michael Ruck
Database Betreff: Re: [sqlite] Given sqlite3_enable_load_extension(),why omit loadable extensions? On Wed, Feb 20, 2008 at 12:09:16AM +0100, Michael Ruck wrote: > This is most likely done to reduce compiled code size. For a lot of > systems this code probably is wasted space, as the feature is no

Re: [sqlite] Given sqlite3_enable_load_extension(), why omit loadable extensions?

2008-02-19 Thread Nicolas Williams
On Wed, Feb 20, 2008 at 12:09:16AM +0100, Michael Ruck wrote: > This is most likely done to reduce compiled code size. For a lot of systems > this code probably is wasted space, as the feature is not used everywhere. > For embedded systems the ability to simply cut features at compile time to > red

Re: [sqlite] Given sqlite3_enable_load_extension(), why omit loadable extensions?

2008-02-19 Thread Michael Ruck
- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Nicolas Williams Gesendet: Dienstag, 19. Februar 2008 23:58 An: General Discussion of SQLite Database Betreff: [sqlite] Given sqlite3_enable_load_extension(),why omit loadable extensions? I searched and found that

[sqlite] Given sqlite3_enable_load_extension(), why omit loadable extensions?

2008-02-19 Thread Nicolas Williams
I searched and found that SQLITE_OMIT_LOAD_EXTENSION is defined by default to protect applications that might otherwise unwittingly allow SQL that loads extensions. I understand that, but, by default extensions cannot be loaded until sqlite3_enable_load_extension() is called to enable them. So wh