Bug #28038 Falcon Large DECIMAL values stored incorrectly

Submitted: 23 Apr 2007 19:43
Reporter: Hakan Küçükyılmaz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Falcon storage engine Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[23 Apr 2007 19:43] Hakan Küçükyılmaz
Description:
If I have a DECIMAL(20) column with MyISAM, I can store a 20-digit number.
If I have a DECIMAL(20) column with JStar, I can't.

How to repeat:
mysql> create table tj5 (s1 decimal(20)) engine = falcon;
Query OK, 0 rows affected (0.01 sec)

mysql> insert into tj5 values (12345678901234567890);
Query OK, 1 row affected (0.01 sec)

mysql> select * from tj5;
+----------------------+
| s1 |
+----------------------+
| -6806097876350287150 |
+----------------------+
1 row in set (0.00 sec)
[23 Apr 2007 19:43] Hakan Küçükyılmaz
Test case is falcon_bug_28038.test.

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.