Commit Graph

14 Commits (master)

Author SHA1 Message Date
Tim Stack 664f45f641 [build] check for sqlite3_drop_modules
Fixes #1053
2 years ago
Timothy Stack 880fe6a68a [tests] handle older sqlite 2 years ago
Timothy Stack f3934c742d [error] leverage sqlite3_error_offset 2 years ago
Suresh Sundriyal 6663740c5e [secure-mode] Disallow ATTACH statements completely.
The code to handle in-memory db exceptions is hideous and unreliable,
given the fact that SQLite does not expose much in terms of getting the
current value and the methods to check the compile time options can
themselves be disabled by a compile=time option in SQLite.

There really isn't much use for in-memory databases and if someone
really needs it, they can always choose to run in normal mode, so just
remove the extra code.
8 years ago
Suresh Sundriyal a13047a9ed [secure-mode] Check to see if URIs are enabled.
Check to see if URIs are enabled or not before continuing on with the
file uri checks.
8 years ago
Timothy Stack 27f300b677 [sql] some more json-related updates/fixes 9 years ago
Suresh Sundriyal 65959bab47 [build] Stop adding to the environment variables.
The AutoMake scripts honor the SQLITE3_XXX flags already. There is no need to
keep adding stuff to the environment variables.
9 years ago
Suresh Sundriyal b53e3f2401 [build] Get rid of warnings from autoreconf.
* Remove some of the obsolete macros.
* Use AC_CONFIG_MACRO_DIR to allow compatibility with older versions of
  autoconf.
* Remove AU_ALIAS from curses macro.
9 years ago
Suresh Sundriyal 2554f19b23 [build] macro refactor 9 years ago
Suresh Sundriyal 9f1da30515 [build] Add the '-pthread' to the list of extra libraries.
Instead of setting it manually.
9 years ago
Suresh Sundriyal a903873f1b [build] Add '-pthread' to sqlite macro.
On some systems, sqlite3 requires pthread libraries to be linked in. Add
the flag so that autoconf can successfully compile and look for
'sqlite3_open'.
9 years ago
Suresh Sundriyal fcdc67eda9 Remove quotes from LNAV_ADDTO arguments. 9 years ago
Suresh Sundriyal 649f486d13 [File headers] Add some headers to m4 files.
Add the license and copyright headers to m4 files.
9 years ago
Suresh Sundriyal 13c6b82f8c [build] Fix SQLite3 realted m4 macros.
The current macro does not seem to honor the CFLAGS and LDFLAGS
variables if '--with-sqlite3=yes' is used. Fix this and some of
the other cruft in the macro.
9 years ago