- changed status to closed
SQLException: ?
Issue #27
closed
I set
ConnectionPool_setAbortHandler(pool, TabortHandler);
and
static void TabortHandler(const char *error) { cout << error << endl; }
And monitor show
SQLException: ? raised in Connection_executeQuery at src/db/Connection.c:319
How do I see in detail of this problem ?
Comments (3)
-
repo owner -
reporter Thank you
-
repo owner - removed version
Removing version: 3.0 (automated comment)
- Log in to comment
The
?
means that an error message was not present. Setting the debug flag in your programZDBUG = 1;
might give more information. I also recommend handling exceptions directly instead of relying on an abort handler. See https://www.tildeslash.com/libzdb/api-docs/Exception_8h.html If you use libzdb with C++, this wrapper might be useful https://github.com/mverbert/libzdbmm