From: Ammar Askar Date: Wed, 15 Apr 2020 21:19:26 +0000 (-0700) Subject: bpo-40270: Enable json extension in Windows sqlite extension (GH-19528) X-Git-Tag: v3.9.0a6~99 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=58d6f2ee3aeb699156d4784acccd2910d27982e7;p=thirdparty%2FPython%2Fcpython.git bpo-40270: Enable json extension in Windows sqlite extension (GH-19528) --- diff --git a/Misc/NEWS.d/next/Library/2020-04-14-16-18-49.bpo-40270.XVJzeG.rst b/Misc/NEWS.d/next/Library/2020-04-14-16-18-49.bpo-40270.XVJzeG.rst new file mode 100644 index 000000000000..c23f7c9d37d9 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-04-14-16-18-49.bpo-40270.XVJzeG.rst @@ -0,0 +1,2 @@ +The included copy of sqlite3 on Windows is now compiled with the json +extension. This allows the use of functions such as ``json_object``. diff --git a/PCbuild/sqlite3.vcxproj b/PCbuild/sqlite3.vcxproj index 90b4d3108fa5..7351a6dda2c7 100644 --- a/PCbuild/sqlite3.vcxproj +++ b/PCbuild/sqlite3.vcxproj @@ -98,7 +98,7 @@ $(sqlite3Dir);%(AdditionalIncludeDirectories) - SQLITE_ENABLE_FTS4;SQLITE_ENABLE_FTS5;SQLITE_API=__declspec(dllexport);%(PreprocessorDefinitions) + SQLITE_ENABLE_JSON1;SQLITE_ENABLE_FTS4;SQLITE_ENABLE_FTS5;SQLITE_API=__declspec(dllexport);%(PreprocessorDefinitions) Level1