Skip to content

Commit 84ebc8f

Browse files
Add back metadata logging in rebuildIndexes()
1 parent 581dd1f commit 84ebc8f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/db_integration/util.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ const rebuildIndexes = async (session) => {
7474
METADATA ${JSON.stringify(metadata)}
7575
`).all();
7676
}
77+
// Logging indexes metadata
78+
const metadata = await session.query(`
79+
SELECT * FROM (SELECT expand(indexes) FROM metadata:indexmanager) WHERE name LIKE '%_fulltext'
80+
`).all();
81+
throw new Error(JSON.stringify(metadata));
7782
};
7883

7984
/**

0 commit comments

Comments
 (0)