1
0
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:
dan
2016-10-21 10:09:22 +00:00
parent 86873baa58
commit ceb97c1107
4 changed files with 23 additions and 8 deletions

View File

@ -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