diff options
| author | Peter Seiderer <ps.report@gmx.net> | 2018-03-02 20:34:35 +0100 |
|---|---|---|
| committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2018-04-01 21:03:50 +0200 |
| commit | 0b02fed5a00f02ed303133d975ad9fcaf2d95b73 (patch) | |
| tree | 7f8666978ac0ca8e493398ab10e445949a7a1bab | |
| parent | fffbd2c9f7ece83a80c18ebe68473fee9da54614 (diff) | |
| download | buildroot-0b02fed5a00f02ed303133d975ad9fcaf2d95b73.tar.gz buildroot-0b02fed5a00f02ed303133d975ad9fcaf2d95b73.zip | |
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>
| -rw-r--r-- | package/sqlite/Config.in | 7 | ||||
| -rw-r--r-- | package/sqlite/sqlite.mk | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/package/sqlite/Config.in b/package/sqlite/Config.in index ec7396860c..517af50e67 100644 --- a/package/sqlite/Config.in +++ b/package/sqlite/Config.in @@ -16,6 +16,13 @@ config BR2_PACKAGE_SQLITE_STAT3 query planner that can help SQLite to choose a better query 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 bool "Enable version 3 of the full-text search engine" help diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk index e8ce92df56..d0030d43ab 100644 --- a/package/sqlite/sqlite.mk +++ b/package/sqlite/sqlite.mk @@ -15,6 +15,10 @@ ifeq ($(BR2_PACKAGE_SQLITE_STAT3),y) SQLITE_CFLAGS += -DSQLITE_ENABLE_STAT3 endif +ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA),y) +SQLITE_CFLAGS += -DSQLITE_ENABLE_COLUMN_METADATA +endif + ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_FTS3),y) SQLITE_CFLAGS += -DSQLITE_ENABLE_FTS3 endif |

