aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sqlite.rb
diff options
context:
space:
mode:
authorBen Reser2014-02-10 15:10:50 -0800
committerJack Nagel2014-02-11 14:44:36 -0500
commitb1346218edfbf926f7cd3ecda17b0d6204ade3d8 (patch)
tree0284259bb9edb8e086d336568feecab130eb519f /Library/Formula/sqlite.rb
parentcb5b0900ee45620f7e628cd1c018973deb5cb7be (diff)
downloadhomebrew-b1346218edfbf926f7cd3ecda17b0d6204ade3d8.tar.bz2
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 <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/sqlite.rb')
-rw-r--r--Library/Formula/sqlite.rb3
1 files changed, 1 insertions, 2 deletions
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?