View Issue Details

IDProjectCategoryView StatusLast Update
0006812SymmetricDSBugpublic2025-04-09 17:38
Reporterpbelov Assigned To 
Prioritynormal 
Status acknowledgedResolutionopen 
Product Version3.16.0 
Summary0006812: incorrect mapping from of NUMBER in Oracle to decimal(10,0) in MySQL
DescriptionWhen sending tables from an Oracle database to a MySQL/Mariadb database during a reload, SymmetricDS crashes.

The column TCX02_PRIOR is defined as NUMBER on Oracle.
The column TCX02_PRIOR is created as decimal(10,0) on MySQL - incorrectly.
Steps To Reproduce
CREATE TABLE T_CX02"
( "TCX02_TIPORIC" CHAR(4) NOT NULL ENABLE,
"TCX02_RIC" CHAR(2) NOT NULL ENABLE,
"TCX02_PRIOR" NUMBER NOT NULL ENABLE,
"TCX02_CMPLIST" NUMBER(2,0),
"TCX02_CMPRIG" NUMBER(2,0),
"TCX02_FCONF" CHAR(1) NOT NULL ENABLE,
"TCX02_FLAV" CHAR(1) NOT NULL ENABLE,
"TCX02_OPZIONI" CHAR(10)


Symmetricds created on the fly this table on mariadb

CREATE TABLE t_cx02 (
tcx02_tiporic char(4) NOT NULL,
tcx02_ric char(2) NOT NULL,
tcx02_prior decimal(10,0) NOT NULL,
tcx02_cmplist decimal(2,0) DEFAULT NULL,
tcx02_cmprig decimal(2,0) DEFAULT NULL,
tcx02_fconf char(1) NOT NULL,
tcx02_flav char(1) NOT NULL,
tcx02_opzioni char(10) DEFAULT NULL,
PRIMARY KEY (tcx02_tiporic,tcx02_ric,tcx02_prior)
)
Tagsddl/schema, dialect: mysql/mariadb

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-04-09 17:10 pbelov New Issue
2025-04-09 17:14 pbelov Status new => acknowledged
2025-04-09 17:14 pbelov Description Updated View Revisions
2025-04-09 17:14 pbelov Steps to Reproduce Updated View Revisions
2025-04-09 17:38 pbelov Tag Attached: dialect: mysql/mariadb
2025-04-09 17:38 pbelov Tag Attached: ddl/schema