marcboeker / go-duckdb

go-duckdb provides a database/sql driver for the DuckDB database engine.
MIT License
646 stars 97 forks source link

DUCKDB access violation with c++ api #257

Open ANDO-LOK opened 1 month ago

ANDO-LOK commented 1 month ago

Hello, I encountered an error with using the c++ api example code below :

DuckDB db(nullptr); duckdb::Connection con(db); con.Query("CREATE TABLE integers (i INTEGER, j INTEGER)");

Exception thrown at 0x00007FFED4ED7937 (duckdb.dll) in ____.exe: 0xC0000005: Access violation reading location 0x000002DEE5029000.

the third line with con query will yield the exception mentioned above .

JAicewizard commented 1 week ago

Hey, this repository is specifically for the go bindings to duckdb, unless im missing something you might want to look at https://github.com/duckdb/duckdb/issues for posting bugs with the C++ API