Found out that when prepare sql statement is used, it doesn't populate it's own ResultSet variable (m_rs), causing subsequent sql_more statements to fail.
Test failing with
Error: Result set was null
❯ Query.fetchMore src/query.ts:168:13
166| if (queryResult.success !== true) {
167| this.state = QueryState.ERROR;
168| throw new Error(
| ^
169| queryResult.error || `Failed to run query (unknown error)`
170| );
❯ test.timeout test/sql.test.ts:180:13```
Found out that when prepare sql statement is used, it doesn't populate it's own ResultSet variable (m_rs), causing subsequent sql_more statements to fail. Test failing with