wallet: sqlite: don't include sqlite files from our headers #28040

pull theuni wants to merge 1 commits into bitcoin:master from theuni:sqlite-no-include-from-headers changing 1 files +3 −2
  1. theuni commented at 8:06 PM on July 6, 2023: member

    Only #include upstream sqlite headers from our cpp files.

    Like #28039 but simpler :)

  2. wallet: sqlite: force sqlite3.h to be included by the cpp files
    This way sqlite usage is explicit.
    bea9fc2600
  3. DrahtBot commented at 8:06 PM on July 6, 2023: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK achow101, TheCharlatan, kristapsk, hebasto

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

  4. DrahtBot added the label Wallet on Jul 6, 2023
  5. achow101 commented at 9:12 PM on July 6, 2023: member

    ACK bea9fc2600635020fd28ec7a6613c92a6f349a86

  6. maflcko approved
  7. maflcko commented at 6:14 AM on July 7, 2023: member

    lgtm. I wonder why iwyu can't transform those two symbols into forward decls. Output on master:

    The full include-list for wallet/sqlite.h:
    ...
    #include <sqlite3.h>    // for sqlite3_stmt, sqlite3
    ...
    
  8. TheCharlatan approved
  9. TheCharlatan commented at 7:30 AM on July 7, 2023: contributor

    Nice, ACK bea9fc2600635020fd28ec7a6613c92a6f349a86

  10. kristapsk approved
  11. kristapsk commented at 7:34 AM on July 7, 2023: contributor

    utACK bea9fc2600635020fd28ec7a6613c92a6f349a86

  12. hebasto approved
  13. hebasto commented at 8:13 AM on July 7, 2023: member

    ACK bea9fc2600635020fd28ec7a6613c92a6f349a86, I have reviewed the code and it looks OK.

  14. PRADACANDI18 approved
  15. PRADACANDI18 commented at 8:35 AM on July 7, 2023: none

    Looks good

  16. fanquake merged this on Jul 7, 2023
  17. fanquake closed this on Jul 7, 2023

  18. sidhujag referenced this in commit d78a36326f on Jul 7, 2023
  19. bitcoin locked this on Jul 6, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-18 15:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me