Skip to content

Commit b6d4497

Browse files
chrispadermrousavy
andauthored
Update package/cpp/specs/HybridNitroSQLiteQueryResult.cpp
Co-authored-by: Marc Rousavy <me@mrousavy.com>
1 parent b4dc19f commit b6d4497

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package/cpp/specs/HybridNitroSQLiteQueryResult.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ size_t getRowExternalMemorySize(const SQLiteQueryResultRow& row) {
6666
* - All rows (column names + values).
6767
*/
6868
size_t getResultsExternalMemorySize(const SQLiteQueryResults& results) {
69-
size_t size = 0;
69+
size_t size = sizeof(SQLiteQueryResults);
7070

7171
const auto resultCapacity = results.capacity();
7272
size += resultCapacity * sizeof(SQLiteQueryResultRow);

0 commit comments

Comments
 (0)