xref: /OK3568_Linux_fs/buildroot/package/sqlite/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_SQLITE
2	bool "sqlite"
3	help
4	  SQLite is a small C library that implements a
5	  self-contained, embeddable, zero-configuration SQL database
6	  engine.
7
8	  https://www.sqlite.org/
9
10if BR2_PACKAGE_SQLITE
11
12config BR2_PACKAGE_SQLITE_STAT4
13	bool "Additional query optimizations (stat4)"
14	help
15	  Adds additional logic to the ANALYZE command and to the
16	  query planner that can help SQLite to choose a better query
17	  plan under certain situations.
18
19config BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA
20	bool "Enable convenient access to meta-data about tables and queries"
21	help
22	  When this option is defined there are some additional APIs
23	  enabled to acces meta-data about tables and queries (see
24	  https://sqlite.org/compile.html).
25
26config BR2_PACKAGE_SQLITE_ENABLE_FTS3
27	bool "Enable version 3 of the full-text search engine"
28	help
29	  When this option is defined in the amalgamation (see
30	  http://www.sqlite.org/amalgamation.html), version 3 of the
31	  full-text search engine is added to the build automatically.
32
33config BR2_PACKAGE_SQLITE_ENABLE_JSON1
34	bool "Enable the JSON extensions for SQLite"
35	help
36	  When this option is defined in the amalgamation, the JSON
37	  extensions are added to the build automatically.
38
39config BR2_PACKAGE_SQLITE_ENABLE_UNLOCK_NOTIFY
40	bool "Enable sqlite3_unlock_notify() interface"
41	help
42	  This option enables the sqlite3_unlock_notify() interface
43	  and its accosiated functionality. See the documentation
44	  http://www.sqlite.org/unlock_notify.html for additional
45	  information.
46
47config BR2_PACKAGE_SQLITE_SECURE_DELETE
48	bool "Set the secure_delete pragma on by default"
49	help
50	  This compile-time option changes the default settings of the
51	  secure_delete pragma. When this option is not used,
52	  secure_delete defaults to off. When this option is present,
53	  secure_delete defaults to on.
54
55	  The secure_delete setting causes deleted content to be
56	  overwritten with zeros. There is a small performance penalty
57	  for this since additional I/O must occur. On the other hand,
58	  secure_delete can prevent sensitive information from
59	  lingering in unused parts of the database file after it has
60	  allegedly been deleted. See the documentation on the
61	  http://www.sqlite.org/pragma.html#pragma_secure_delete for
62	  additional information.
63
64config BR2_PACKAGE_SQLITE_NO_SYNC
65	bool "Disable fsync"
66	help
67	  By default SQLite forces all database transactions to
68	  storage immediately using fsync() to protect against data
69	  loss in case of power failure. This option turns this
70	  behavior off resulting in higher performance especially when
71	  using slow flash storage.
72
73endif
74