Skip to content

bug:A table of type DECIMAL, inserting a maximum value, displayed as 0 #103

@422351990

Description

@422351990

Describe the problem
A table of type DECIMAL, inserting a maximum value, displayed as 0

Expected behavior
The expected values are 9999999999999999999999999999.9999999999、-9999999999999999999999999999.9999999999

How To Reproduce
Execute to create tables of type DECIMAL

Create Table: CREATE TABLE `TYPE008` (
  `COL` decimal(18,10) DEFAULT NULL
) ENGINE=STONEDB DEFAULT CHARSET=utf8

Perform the maximum value of the insert DECIMAL (38,10) type.
Perform insert minimum values of type DECIMAL (38,10)

INSERT INTO TYPE008 VALUES(99999999.9999999999);
INSERT INTO TYPE008 VALUES(-99999999.9999999999);
SELECT * FROM TYPE008;

Environment
Ubuntu 20.04.4 LTS
Server version: 5.6.24-StoneDB

Additional context
none

Metadata

Metadata

Assignees

Labels

A-bugSomething isn't workingA-featurefeature with good ideaB-storagedata type, data storage, insert,update,delete, transactionsC-stonedb-5.7associated with stonedb 5.7prio: highHigh priority

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions