---
title: "Comment by Rishabh Mishra on \"When \"Opening Never Throws\" Still Threw: sql.js and a Damaged B-Tree Page\" | Hashnode"
description: "The empty-list fix is the right call, since the summary queries were the only thing standing between a damaged file and the health report. One thing I would als"
url: "https://hashnode.com/posts/when-opening-never-throws-still-threw-sql-js-and-a-damaged-b-tree-page/6af12bbfa4feda9a1d3e7a9f/comment/6af137297d64feecc5f2b5e4"
---

[Discussion](https://hashnode.com/posts/when-opening-never-throws-still-threw-sql-js-and-a-damaged-b-tree-page/6af12bbfa4feda9a1d3e7a9f)

Comment [When "Opening Never Throws" Still Threw: sql.js and a Damaged B-Tree Page](https://hashnode.com/posts/when-opening-never-throws-still-threw-sql-js-and-a-damaged-b-tree-page/6af12bbfa4feda9a1d3e7a9f)

[Rishabh Mishra](https://hashnode.com/@rushdeploy)

[Nov 9](https://hashnode.com/posts/when-opening-never-throws-still-threw-sql-js-and-a-damaged-b-tree-page/6af12bbfa4feda9a1d3e7a9f/comment/6af137297d64feecc5f2b5e4)

The empty-list fix is the right call, since the summary queries were the only thing standing between a damaged file and the health report. One thing I would also pin down is the paged reader's historyRows throw, so a stray -wal file does not silently change which copy opens. The damaged-fixture tests are a good guard for that.
