mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
sqlite: add option for meta-data about tables/queries
Enables SQLITE_ENABLE_COLUMN_METADATA to gain access to: - sqlite3_column_database_name() - sqlite3_column_database_name16() - sqlite3_column_table_name() - sqlite3_column_table_name16() - sqlite3_column_origin_name() - sqlite3_column_origin_name16() Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
fffbd2c9f7
commit
0b02fed5a0
@ -16,6 +16,13 @@ config BR2_PACKAGE_SQLITE_STAT3
|
|||||||
query planner that can help SQLite to choose a better query
|
query planner that can help SQLite to choose a better query
|
||||||
plan under certain situations.
|
plan under certain situations.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA
|
||||||
|
bool "Enable convenient access to meta-data about tables and queries"
|
||||||
|
help
|
||||||
|
When this option is defined there are some additional APIs
|
||||||
|
enabled to acces meta-data about tables and queries (see
|
||||||
|
https://sqlite.org/compile.html).
|
||||||
|
|
||||||
config BR2_PACKAGE_SQLITE_ENABLE_FTS3
|
config BR2_PACKAGE_SQLITE_ENABLE_FTS3
|
||||||
bool "Enable version 3 of the full-text search engine"
|
bool "Enable version 3 of the full-text search engine"
|
||||||
help
|
help
|
||||||
|
@ -15,6 +15,10 @@ ifeq ($(BR2_PACKAGE_SQLITE_STAT3),y)
|
|||||||
SQLITE_CFLAGS += -DSQLITE_ENABLE_STAT3
|
SQLITE_CFLAGS += -DSQLITE_ENABLE_STAT3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA),y)
|
||||||
|
SQLITE_CFLAGS += -DSQLITE_ENABLE_COLUMN_METADATA
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_FTS3),y)
|
ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_FTS3),y)
|
||||||
SQLITE_CFLAGS += -DSQLITE_ENABLE_FTS3
|
SQLITE_CFLAGS += -DSQLITE_ENABLE_FTS3
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user