mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
sqlite: add option to enable additional query optimizations (stat3)
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
d2e7ec721f
commit
9bb9a6db18
@ -14,3 +14,11 @@ config BR2_PACKAGE_SQLITE_READLINE
|
|||||||
help
|
help
|
||||||
Enable command-line editing. This requires ncurses and readline.
|
Enable command-line editing. This requires ncurses and readline.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_SQLITE_STAT3
|
||||||
|
bool "Additional query optimizations (stat3)"
|
||||||
|
depends on BR2_PACKAGE_SQLITE
|
||||||
|
help
|
||||||
|
Adds additional logic to the ANALYZE command and to the query
|
||||||
|
planner that can help SQLite to choose a better query plan under
|
||||||
|
certain situations.
|
||||||
|
|
||||||
|
@ -16,6 +16,10 @@ ifneq ($(BR2_LARGEFILE),y)
|
|||||||
SQLITE_CFLAGS += -DSQLITE_DISABLE_LFS
|
SQLITE_CFLAGS += -DSQLITE_DISABLE_LFS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_SQLITE_STAT3),y)
|
||||||
|
SQLITE_CFLAGS += -DSQLITE_ENABLE_STAT3
|
||||||
|
endif
|
||||||
|
|
||||||
SQLITE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) $(SQLITE_CFLAGS)"
|
SQLITE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) $(SQLITE_CFLAGS)"
|
||||||
|
|
||||||
SQLITE_CONF_OPT = \
|
SQLITE_CONF_OPT = \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user