-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firebird, TimeStamp,Windows: Process finished with exit code 0xC0000005 #102
Comments
Hi @mtrezzi! I'm not sure I can help you all the way through this, but you might try enabling debugging in the odbc module (https://github.com/wankdanker/node-odbc#debug). At least we can then see where it is getting internally before crashing. |
Hi @wankdanker!
The column 2 is the TIMESTAMP |
My best guess is that the Firebird TimeStamp types maps to some ODBC type other than SQL_DATETIME or SQL_TIMESTAMP. A quick look at /usr/include/sql.h indicates that SQL_TYPE_TIMESTAMP has the value 93 that is being reported in the debug output. I'd suggest trying to add a case for SQL_TYPE_TIMESTAMP at https://github.com/wankdanker/node-odbc/blob/master/src/odbc.cpp#L418, then recompile and try again. |
Thank you for your kind cooperation and your prompt reply. Massimiliano Da: Dan VerWeire [email protected] My best guess is that the Firebird TimeStamp types maps to some ODBC type other than SQL_DATETIME or SQL_TIMESTAMP. A quick look at /usr/include/sql.h indicates that SQL_TYPE_TIMESTAMP has the value 93 that is being reported in the debug output. I'd suggest trying to add a case for SQL_TYPE_TIMESTAMP at https://github.com/wankdanker/node-odbc/blob/master/src/odbc.cpp#L418, then recompile and try again. You are receiving this because you were mentioned. |
Hi @wankdanker! |
Hi,
I'm using node-odbc with firebird 2.5 and a dialect 3 database.
Node.js crashes and the process finishes with exit code 0xC0000005 when my application executes a query containing timestamp fields .
Here is the code to create table and insert data:
Here is the node.js code:
I never get "closing" nor "done" log messages, but the system crashes during "db.query" execution.
Here is the WebStorm debugger console output:
The text was updated successfully, but these errors were encountered: