Commit Graph

4 Commits

Author SHA1 Message Date
MonicaLiu
c30bf9d28c
[sqlite3] Fix feature dbstat (#38711)
Fixes #38700. Enable the sqlite3 feature `dbstat` and let
`SQLITE_ENABLE_DBSTAT_VTAB` return `TRUE`:



![image](https://github.com/microsoft/vcpkg/assets/110024546/cfd99f66-c652-4761-82a9-81c91a36b0cc)


- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] ~SHA512s are updated for each updated download.~
- [ ] ~The "supports" clause reflects platforms that may be fixed by
this new version.~
- [ ] ~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~
- [ ] ~Any patches that are no longer applied are deleted from the
port's directory.~
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
2024-05-14 10:51:53 -07:00
arasan01
86e3ce7d29
[sqlite3] Ability to enable the database snapshot (#36925)
This PR adds a configuration option that allows you to enable snapshots
of SQLite3.

https://sqlite.org/c3ref/snapshot.html

The main use case is handling in WAL mode. Previously, SQLite3 in vcpkg
did not support database snapshot handling. This PR will extend the
functionality of SQLite3 by supporting it.

- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
2024-03-05 01:34:51 -08:00
Thomas1664
079419e66b
[sqlite3] Update to 3.42.0 (#31703)
* [sqlite3] Update to 3.42.0

* version

* Add cmake wrapper

* Test cmake wrapper

* version

* Add libsqlite3 to library names

* version

* WIP

* version

* restore original

* Remove cmake wrapper

* version

* Remove wrapper

* Remove all unused features

* version

* Remove unused features

* version

* only remove 1 variable

* version

* .

* version

* make json1 default feature

* version
2023-06-13 22:53:09 -07:00
Billy O'Neal
185a7aa23a
[sqlite3] Control features with a configuration header (#29376)
* [sqlite3] Control features with a configuration header rather than CMake or pkgconfig.

Resolves https://github.com/microsoft/vcpkg/pull/29335

Alternate of https://github.com/microsoft/vcpkg/pull/29258

@Neumann-A points out that controlling features through CMake configs and pkgconfig causes MSBuild customers to be left out in the cold. Moreover, attempting to add parenthesis to the SQLITE_API marco breaks autotools. This change makes such parenthesis unnecessary and ensures the configuration bits are used with automatic linking.

* Ensure feature controls affect the .c too, use less MAYBE_UNUSED.

* Correctly note that zlib has no effect without tools.

* Always add DL_LIBS even when static linking.

* [sqlitecpp] Unconditionally enable column metadata because that is done in the sqlite3 port.

* Add missing -l prefix on CMAKE_DL_LIBS
2023-02-06 12:00:37 -08:00