mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
sqlite: add column metadata support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
1aa53e263f
commit
4dd41fc97b
@ -26,13 +26,25 @@
|
|||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-O3|"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-O3|"`
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||"`
|
||||||
|
|
||||||
# This option adds additional logic to the ANALYZE command and to the query planner
|
# This option adds additional logic to the ANALYZE command and to the query planner
|
||||||
# that can help SQLite to chose a better query plan under certain situations. The
|
# that can help SQLite to chose a better query plan under certain situations. The
|
||||||
# ANALYZE command is enhanced to collect histogram data from each index and store
|
# ANALYZE command is enhanced to collect histogram data from each index and store
|
||||||
# that data in the sqlite_stat3 table. The query planner will then use the histogram
|
# that data in the sqlite_stat3 table. The query planner will then use the histogram
|
||||||
# data to help it make better index choices.
|
# data to help it make better index choices.
|
||||||
CFLAGS="$CFLAGS -DSQLITE_ENABLE_STAT3"
|
CFLAGS="$CFLAGS -DSQLITE_ENABLE_STAT3"
|
||||||
|
|
||||||
|
# When this C-preprocessor macro is defined, SQLite includes some additional APIs
|
||||||
|
# that provide convenient access to meta-data about tables and queries. The APIs that
|
||||||
|
# are enabled by this option are:
|
||||||
|
# - sqlite3_column_database_name()
|
||||||
|
# - sqlite3_column_database_name16()
|
||||||
|
# - sqlite3_column_table_name()
|
||||||
|
# - sqlite3_column_table_name16()
|
||||||
|
# - sqlite3_column_origin_name()
|
||||||
|
# - sqlite3_column_origin_name16()
|
||||||
|
# - sqlite3_table_column_metadata()
|
||||||
|
CFLAGS="$CFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1"
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
./configure --host=$TARGET_NAME \
|
./configure --host=$TARGET_NAME \
|
||||||
--build=$HOST_NAME \
|
--build=$HOST_NAME \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user