Discussion:
[JIRA] Created: (MYO-106) Setting prepared statement parameter type double corrupts parameter value
Gilles Rayrat (JIRA)
2009-08-28 15:52:46 UTC
Permalink
Setting prepared statement parameter type double corrupts parameter value
-------------------------------------------------------------------------

Key: MYO-106
URL: https://forge.continuent.org/jira/browse/MYO-106
Project: Tungsten Connector
Type: Bug

Components: MySQL protocol
Reporter: Gilles Rayrat
Assigned to: Gilles Rayrat
Fix For: 0.6.8


When a prepared statement has a parameter of type double, setting this parameter will result in setting two times this parameter, with possibly corrupted value
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Gilles Rayrat (JIRA)
2009-08-28 15:59:46 UTC
Permalink
[ https://forge.continuent.org/jira/browse/MYO-106?page=comments#action_15745 ]

Gilles Rayrat commented on MYO-106:
-----------------------------------

There is a missing "break" at the end of the switch/case where we set double parameters, resulting in setting this parameter a second time, the bigdecimal way
Post by Gilles Rayrat (JIRA)
Setting prepared statement parameter type double corrupts parameter value
-------------------------------------------------------------------------
Key: MYO-106
URL: https://forge.continuent.org/jira/browse/MYO-106
Project: Tungsten Connector
Type: Bug
Components: MySQL protocol
Reporter: Gilles Rayrat
Assignee: Gilles Rayrat
Fix For: 0.6.8
When a prepared statement has a parameter of type double, setting this parameter will result in setting two times this parameter, with possibly corrupted value
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Gilles Rayrat (JIRA)
2009-08-29 11:18:46 UTC
Permalink
[ https://forge.continuent.org/jira/browse/MYO-106?page=all ]

Gilles Rayrat closed MYO-106:
-----------------------------

Resolution: Fixed

Fix check-in svn, added missing "break"
Tested with Alfresco (that raised the issue)
Post by Gilles Rayrat (JIRA)
Setting prepared statement parameter type double corrupts parameter value
-------------------------------------------------------------------------
Key: MYO-106
URL: https://forge.continuent.org/jira/browse/MYO-106
Project: Tungsten Connector
Type: Bug
Components: MySQL protocol
Reporter: Gilles Rayrat
Assignee: Gilles Rayrat
Fix For: 0.6.8
When a prepared statement has a parameter of type double, setting this parameter will result in setting two times this parameter, with possibly corrupted value
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Loading...