Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Modules/_sqlite/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
#define ACTION_FINALIZE 1
#define ACTION_RESET 2

#if SQLITE_VERSION_NUMBER >= 3014000
#if SQLITE_VERSION_NUMBER >= 3014000 || \
defined(__APPLE__) && defined(__MACH__) \
&& __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_12
Comment on lines +36 to +38
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will fail if you're compiling against SQLite pre 3.14 on macOS. One cannot assume that all macOS builds uses the SQLite 3 that's shipped with the OS.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it should check in the configure; and set the HAVE_TRACE_V2 there?

#define HAVE_TRACE_V2
#endif

Expand Down