Error strings appear mangled
See original GitHub issueWhen trying to send a SQL insert, I’m getting mangled error strings:
One or more errors occurred. (�-�� V)
Unhandled exception. System.AggregateException: One or more errors occurred. (�-�� V)
---> DuckDB.NET.Data.DuckDBException (0x00000001): �-�� V
at DuckDB.NET.Data.DuckDbCommand.ExecuteScalarOrNonQuery()
at DuckDB.NET.Data.DuckDbCommand.ExecuteNonQuery()
Maybe there’s actually something wrong with my insert statement, so no need to worry about inserts not working, just the text appears wrong (however the same SQL command works fine on sqlite, but then again the SQL syntax is not exactly the same between duckdb and sqlite).
This is with DuckDB.Net 0.4.0 and latest duckdb.so (on Linux).
And I should use this occasion to thank you very much for all your updates & commits.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
questions about name mangling in C++
When a global function is overloaded, the generated mangled name for each overloaded version is unique. Name mangling is also applied to ...
Read more >Mangled error message
My intent in posting the image and the thread was to let MS know one of the error messages from Win 10 was...
Read more >Name mangling - Wikipedia
In compiler construction, name mangling (also called name decoration) is a technique used to solve various problems caused by the need to resolve...
Read more >Mangled enDashes and emDashes receivied via API
This error occurs while I am still handling the response as a raw string, with no attempt on my part to enforce any...
Read more >Bug in Python 3 Name Mangling Mechanism (in Exception ...
Bug report Impossible to get an attribute value by its mangled name with described conditions. Exception has wrong mangled name of private ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Something is not aligning correctly.
If I change:
private string ErrorMessage;
to:private IntPtr ErrorMessage;
in DuckDBResult.I get the expected result.
@pkese This is now available on NuGet