mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
If SQLITE_DIRECT_OVERFLOW_READ is defined at compile time, add "DIRECT_OVERFLOW_READ" to the list of symbols returned by "PRAGMA compile_options".
FossilOrigin-Name: b7d9727bff2e840af4b090872c991693e78e6076
This commit is contained in:
@ -224,5 +224,17 @@ do_test ctime-2.5.$tc {
|
||||
} ]
|
||||
} {0 {{}}}
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# Test that SQLITE_DIRECT_OVERFLOW_READ is reflected in the output of
|
||||
# "PRAGMA compile_options".
|
||||
#
|
||||
ifcapable direct_read {
|
||||
set res 1
|
||||
} else {
|
||||
set res 0
|
||||
}
|
||||
do_test ctime-3.0.1 {
|
||||
expr [lsearch [db eval {PRAGMA compile_options}] DIRECT_OVERFLOW_READ]>=0
|
||||
} $res
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user