print decimal as long if scale is zero

optimize numeric and decimal displaying

add unit test case for print simple decimal

close the cursor
This commit is contained in:
Hongjiang Zhang
2020-05-21 15:49:49 +08:00
parent ff60a141cb
commit cac40267fc
4 changed files with 38 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
create table customer (
"CUST_ID" INTEGER not null,
"USER_ID" DECIMAL(18,0) not null,
primary key ("CUST_ID")
);
+1
View File
@@ -0,0 +1 @@
insert into CUSTOMER (CUST_ID, USER_ID) values (1, 12345);