Bug #6619 getString behaviour different in 3.1 from 3.0
| Submitted: | 15 Nov 2004 5:08 | Modified: | 16 Nov 2004 9:38 |
|---|---|---|---|
| Reporter: | Robert Nice | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 3.1.4 | OS: | Linux (RH 9) |
| Assigned to: | CPU Architecture: | Any |
[15 Nov 2004 5:08]
Robert Nice
[16 Nov 2004 4:33]
Mark Matthews
Not a Connector/J issue. This is a server bug, the field type reported by the server when using prepared statements for sum(int), is 'double' !?
[16 Nov 2004 6:42]
Robert Nice
Not saying you're not correct, but why does 3.0.x work as expected?
[16 Nov 2004 9:38]
Sergei Golubchik
it's not a bug. Server cannot report int for sum(), because the result of sum(int) may not fit into int. Thus double. In 5.0 it will be decimal with the scale 0.
[16 Nov 2004 16:35]
Robert Nice
Server aside, why does Conn/J 3.0.x work, and the MySQL console work, but Conn/J 3.1.7 does not?
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.