-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
When enumerating a table like this:
using FileStream fs = File.OpenRead(file);
using Sqlite3Database db = new Sqlite3Database(fs);
Sqlite3Table tbl = db.GetTable("table");
foreach (Sqlite3Row row in tbl.EnumerateRows())
{
// do something with row
}The call stack in your code is this:
Sqlite3Table.EnumerateRowsBTreeTools.WalkTableBTreeBTreeTools.WalkTableBTree´1BTreePage.ParseBTreeTools.WalkTableBTree
The calls are essentially recursive, which causes a stack overflow for tables with a large B+ tree.
Metadata
Metadata
Assignees
Labels
No labels