From b1346218edfbf926f7cd3ecda17b0d6204ade3d8 Mon Sep 17 00:00:00 2001 From: Ben Reser Date: Mon, 10 Feb 2014 15:10:50 -0800 Subject: sqlite: do not enable stat3 support It's buggy with 3.8.1, 3.8.2 and 3.8.3. See this bug for details: https://www.sqlite.org/src/info/4c86b126f2 Further, it violates the query planner stability guarantee: https://sqlite.org/queryplanner-ng.html#qpstab https://sqlite.org/compile.html Closes #26592. Signed-off-by: Jack Nagel --- Library/Formula/sqlite.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Library/Formula/sqlite.rb') diff --git a/Library/Formula/sqlite.rb b/Library/Formula/sqlite.rb index ca5143444..8931fdcfb 100644 --- a/Library/Formula/sqlite.rb +++ b/Library/Formula/sqlite.rb @@ -39,9 +39,8 @@ class Sqlite < Formula ENV.append 'CPPFLAGS', "-DSQLITE_ENABLE_RTREE" unless build.without? "rtree" ENV.append 'CPPFLAGS', "-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS" if build.with? "fts" - # enable these options by default + # enable this option by default ENV.append 'CPPFLAGS', "-DSQLITE_ENABLE_COLUMN_METADATA" - ENV.append 'CPPFLAGS', "-DSQLITE_ENABLE_STAT3" ENV.universal_binary if build.universal? -- cgit v1.2.3