sqlite: Remove SQLITE_OMIT_LOAD_EXTENSION define
This define prevents the usage of some customization possibilities, e.g. injecting data by using virtual tables that are implemented as an extension. [ChangeLog][Third-Party Code] Build sqlite without SQLITE_OMIT_LOAD_EXTENSION Fixes: QTBUG-70972 Change-Id: Idaf1c2c7bccbaec6f7bbf3d79334ffb4a0bad3fc Reviewed-by: Nils Jeisecke <nils.jeisecke@saltation.com> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
84e15d6f48
commit
eea3947842
4
src/3rdparty/sqlite.pri
vendored
4
src/3rdparty/sqlite.pri
vendored
@ -1,5 +1,6 @@
|
||||
CONFIG(release, debug|release):DEFINES *= NDEBUG
|
||||
DEFINES += SQLITE_ENABLE_COLUMN_METADATA SQLITE_OMIT_LOAD_EXTENSION SQLITE_OMIT_COMPLETE SQLITE_ENABLE_FTS3 SQLITE_ENABLE_FTS3_PARENTHESIS SQLITE_ENABLE_FTS5 SQLITE_ENABLE_RTREE SQLITE_ENABLE_JSON1
|
||||
QT_FOR_CONFIG += core-private
|
||||
DEFINES += SQLITE_ENABLE_COLUMN_METADATA SQLITE_OMIT_COMPLETE SQLITE_ENABLE_FTS3 SQLITE_ENABLE_FTS3_PARENTHESIS SQLITE_ENABLE_FTS5 SQLITE_ENABLE_RTREE SQLITE_ENABLE_JSON1
|
||||
!contains(CONFIG, largefile):DEFINES += SQLITE_DISABLE_LFS
|
||||
qtConfig(posix_fallocate): DEFINES += HAVE_POSIX_FALLOCATE=1
|
||||
winrt {
|
||||
@ -8,6 +9,7 @@ winrt {
|
||||
}
|
||||
qnx: DEFINES += _QNX_SOURCE
|
||||
!win32:!winrt:!winphone: DEFINES += HAVE_USLEEP=1
|
||||
qtConfig(dlopen): QMAKE_USE += libdl
|
||||
integrity: QMAKE_CFLAGS += -include qplatformdefs.h
|
||||
INCLUDEPATH += $$PWD/sqlite
|
||||
SOURCES += $$PWD/sqlite/sqlite3.c
|
||||
|
Loading…
Reference in New Issue
Block a user