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