зеркало из https://github.com/mozilla/gecko-dev.git
12bd06909d
The SQLite in Debian 7 (3.7.13) lacks support for common table expressions (the WITH keyword), which was introduced in SQLite 3.8.3. The Mercurial SQLite storage backend currently relies on CTEs. Even if a future Mercurial doesn't require CTE, it is likely that it will still use CTE if available for performance reasons. So, it is in our best interest to give Mercurial access to a modern SQLite. Plus, using a modern SQLite and avoiding potential bugs in old versions seems prudent. This commit introduces a SQLite package backport for Debian 7 so we can use the new SQLite feature. We had to minimally patch the build to work with an older version of TCL that isn't using multiarch. I observed libsqlite3 being installed as part of building various other packages (such as Python). I initially added the package as a dependency so packages would be built against a more modern SQLite. But glandium doesn't believe it matters, since nothing should be doing build-time feature detection. Python is the most important downstream package (since Mercurial uses its SQLite). I audited the CPython build system and did not see any build-time SQLite feature detection or version sniffing. So I think we'll be fine building against an older SQLite. Differential Revision: https://phabricator.services.mozilla.com/D14194 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
cmake-wheezy.diff | ||
dpkg-wheezy.diff | ||
gdb-wheezy.diff | ||
glib-wheezy.diff | ||
gtk-wheezy.diff | ||
make-wheezy.diff | ||
nasm-wheezy.diff | ||
python-defaults-wheezy.diff | ||
python-wheezy.diff | ||
python-zstandard-wheezy.diff | ||
python3-defaults-wheezy.diff | ||
python3.5-wheezy.diff | ||
sqlite3-wheezy.diff | ||
valgrind-wheezy.diff | ||
xkeyboard-config-wheezy.diff |