GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — inspector: fix builds without SQLite by christianaurichzm · Pull Request #67722 · nodejs/node Conversation
Member
$ ./configure --without-sqlite && make In file included from ../src/inspector/dom_storage_agent.h:8, from ../src/inspector_agent.cc:7: ../src/node_webstorage.h:10:10: fatal error: sqlite3.h: No such file or directory Since #62145, v24.x and v26.x got the same include in 24.16.0 and 26.1.0. Refs: #62145
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsdom_storage_agent.h includes node_webstorage.h, which needs sqlite3.h, so `./configure --without-sqlite` only compiles together with `--without-inspector`. Forward-declare webstorage::Storage there and build the agent's web storage fallback only with SQLite. Without it, getDOMStorageItems reports unregistered storage as unavailable. Signed-off-by: Christian Aurich Zanettini Martins <[email protected]>
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## main #67722 +/- ## ======================================= Coverage 90.54% 90.54% ======================================= Files 801 801 Lines 284119 284119 Branches 54882 54883 +1 ======================================= + Hits 257257 257261 +4 + Misses 17022 17011 -11 - Partials 9840 9847 +7
🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Landed in be0f17c |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
dom_storage_agent.h includes node_webstorage.h, which needs sqlite3.h, so `./configure --without-sqlite` only compiles together with `--without-inspector`. Forward-declare webstorage::Storage there and build the agent's web storage fallback only with SQLite. Without it, getDOMStorageItems reports unregistered storage as unavailable. Signed-off-by: Christian Aurich Zanettini Martins <[email protected]> PR-URL: nodejs#67722 Refs: nodejs#62145 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Jake Yuesong Li <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.