Closed pkese closed 2 years ago
Can you format the code?
Sure, except I'm not sure what to format (I'm not using visual studio so maybe my code looks different than yours).
Could you include .editorconfig or some specs of how code should formatted or linted.
Opening braces need to be on a new line.
DuckDb API doca are suggesting to call
duckdb_destroy_result
after each query to"de-allocate all memory allocated for that connection".
In
DuckDDCommand.ExecuteNonQuery
we calledDuckDBDestroyResult
only for error path,but we didn't destroy the result for the success path.