Looking at the C examples for monetdbe_query in the GitHub repository: https://github.com/MonetDBSolutions/monetdbe-examples
The prescribed way to run queries is to run SQL queries in an IF statement that captures Null return values as shown below:
if (monetdbe_query(db, "SELECT * FROM mystrings", &result, NULL) != NULL) {
fprintf(stderr, "Failed to run select query\n");
goto cleanup;
}
is it possible to get any detailed information regarding why the SQL statement failed?