Bug #58940 Connector/ODBC for Linux - Unable to insert NULL values into DECIMAL column
Submitted: 15 Dec 2010 9:56 Modified: 29 May 2013 11:57
Reporter: Sudhir Shastry Email Updates:
Status: Closed Impact on me:
Category:Connector / ODBC Severity:S2 (Serious)
Version:5.1.8 OS:Linux (Ubuntu Intrepid 8.1)
Assigned to: CPU Architecture:Any
Tags: decimal, insert, null

[15 Dec 2010 9:56] Sudhir Shastry
My program tries to Insert NULL values into MySQL table with DECIMAL column. Application is deployed on Ubuntu Linux 8.1 (64-bit) with following software;
JRE 1.6.14, UnixODBC 2.3 Driver Manager, MySQL Connector/ODBC 5.1.8

This is resulting in a fatal error.

How to repeat:
1) Create a table with DECIMAL column
2) Write a small java code to access it through JDBC-ODBC bridge and the mySQL Connector/ODBC driver (There is a reason why I am not using Connector/J)
[15 Dec 2010 9:56] Sudhir Shastry
Error log file

Attachment: hs_err_pid14222.log (, text), 22.40 KiB.

[15 Dec 2010 10:12] Tonci Grgin
Sudhir, just a short comment. If you are NOT using c/J why on Earth are you using JDBC/ODBC bridge??? Please remove the bridge and use either of the connectors otherwise your problem, due to complexity of bridging environment, will probably never get solved.
[16 Jan 2011 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[29 May 2013 11:57] Bogdan Degtyariov
I'm closing this bug because I can not continue without feedback from the reporter. If you have new info, please reopen the report.