Bug #42762 Migrate INTEGER to wrong data types

Submitted: 11 Feb 2009 13:54 Modified: 19 Jun 2018 7:11
Reporter: Susanne Ebrecht Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[11 Feb 2009 13:54] Susanne Ebrecht
Description:
Setup a PostgreSQL table:

CREATE TABLE t(i integer, n integer);

Fill with some rows:

INSERT INTO t VALUES (generate_series(1,100), random()*100);

ALTER TABLE t ADD PRIMARY KEY(i);

Now use migration tool and generic JDBC to migrate this table to MySQL.

All works fine but the integers were migrated to TINYINT.

SHOW CREATE TABLE t;

You will see that both columns are tinyint here. 

How to repeat:
See above

Suggested fix:
Let INTEGER as INTEGER
[19 Jun 2018 7:11] Milosz Bodzek
Migration tool is not supported anymore, use MySQL Workbench migration wizard instead.
[5 Oct 21:41] Alfredo Kojima
Posted by developer:
 
This issue applies to the legacy MySQL Workbench 8.x implementation that is no longer supported or maintained.
MySQL Workbench 26.7 is a complete rewrite using a new technology stack and does not use the affected legacy implementation.
Therefore, this issue is not applicable to the current MySQL Workbench product and as such is closed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.040 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.