Bug #62214 | Adding a column X after a column that were renamed | ||
---|---|---|---|
Submitted: | 19 Aug 2011 17:04 | Modified: | 24 Aug 2011 18:23 |
Reporter: | Mahomedalid Pacheco | Email Updates: | |
Status: | Unsupported | Impact on me: | |
Category: | MySQL Workbench: Modeling | Severity: | S3 (Non-critical) |
Version: | 5.2.34 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | add column, change, model, synchronize |
[19 Aug 2011 17:04]
Mahomedalid Pacheco
[19 Aug 2011 20:48]
Rafael Antonio Bedoy Torres
Hello, Thanks for your report. May you please let us know what version of the Workbench are you using and what happen if you change the lines on your script: ALTER TABLE db.test CHANGE COLUMN column_x column_z VARCHAR(5), ADD COLUMN column_y AFTER column_z.
[19 Aug 2011 20:56]
Mahomedalid Pacheco
Changing the version of the bug,.
[19 Aug 2011 20:59]
Mahomedalid Pacheco
ALTER TABLE db.test CHANGE COLUMN column_x column_z VARCHAR(5) DEFAULT NULL, ADD COLUMN column_y VARCHAR(5) DEFAULT NULL AFTER column_z. Your SQL query has been executed successfully
[22 Aug 2011 22:35]
MySQL Verification Team
Thank you for the bug report.
[23 Aug 2011 1:04]
MySQL Verification Team
Sorry edited wrong bug opening again.
[23 Aug 2011 13:28]
Rafael Antonio Bedoy Torres
Hello, can you please share what server version are you using?, also please paste the info you get from the Workbench when you select Help ->System Info. Thanks in advance
[23 Aug 2011 14:06]
Mahomedalid Pacheco
Well, I'm using multiple servers and everyone has the same error. This is one of them: Server version: 5.0.45-log Mandriva Linux - MySQL Standard Edition (GPL) About WB: MySQL Workbench CE for Linux/Unix version 5.2.34 Configuration Directory: /home/mpacheco/.mysql/workbench Data Directory: /usr/share/mysql-workbench Cairo Version: 1.10.0 Rendering Mode: OpenGL is not available on this system, so Native is used for rendering. OS: Linux 2.6.35-30-generic CPU: 2x AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ 1000.000 MHz, 2.0 GB RAM
[23 Aug 2011 20:52]
Rafael Antonio Bedoy Torres
Hi, Can you please update your server version and try again? Thanks again
[23 Aug 2011 21:03]
Mahomedalid Pacheco
Same error in Server version: 5.1.49-1ubuntu8.1 (Ubuntu)
[23 Aug 2011 21:06]
Mahomedalid Pacheco
Sorry, in server version: 5.1.49-1ubuntu8.1 (Ubuntu) is not happening only in server version 5.0. My mistake.
[24 Aug 2011 18:07]
Rafael Antonio Bedoy Torres
OK, just to verify, your problem was solved with the server upgrade right?
[24 Aug 2011 18:08]
Mahomedalid Pacheco
Well, I can't upgrade this server, because is in production, so if there is no other solution I think I will live with this problem.
[24 Aug 2011 18:23]
Rafael Antonio Bedoy Torres
We verified that the problem is solved on 5.0.90 (if you can't upgrade your server to the newest version), we can't fix the problem on previous versions because are not supported anymore. Thanks for reporting your bug.