Skip to content

Commit

Permalink
Add FIXME reminder for duckdb_malloc/duckdb_free calls
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaruza committed May 2, 2024
1 parent 5b66cd7 commit a6cb22d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/quack_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ InsertTupleIntoChunk(duckdb::DataChunk &output, PostgresHeapSeqScanThreadInfo &t
return;
}

/* FIXME: all calls to duckdb_malloc/duckdb_free should be changed in future */
Datum *values = (Datum *)duckdb_malloc(sizeof(Datum) * parallelScanState.m_columns.size());
bool *nulls = (bool *)duckdb_malloc(sizeof(bool) * parallelScanState.m_columns.size());

Expand Down

0 comments on commit a6cb22d

Please sign in to comment.