adding index on table with autoincrement

Discussion of open issues, suggestions and bugs regarding database management and administration tools for MySQL
Post Reply
sipe16
Posts: 8
Joined: Sat 12 Feb 2011 11:59

adding index on table with autoincrement

Post by sipe16 » Sat 05 Mar 2011 22:30

When adding an index on a table with primary key auto_increment, it looks like it's using the following command to force index update:

CHANGE COLUMN id id INT(11) NOT NULL

therefore dropping the auto_increment.

// cyle

Viktor
Devart Team
Posts: 68
Joined: Thu 06 May 2010 08:12

Post by Viktor » Mon 07 Mar 2011 07:39

What exact version of dbForge Studio for MySQL are you using?

sipe16
Posts: 8
Joined: Sat 12 Feb 2011 11:59

Post by sipe16 » Thu 10 Mar 2011 12:07

Using 4.50.331

Viktor
Devart Team
Posts: 68
Joined: Thu 06 May 2010 08:12

Post by Viktor » Thu 10 Mar 2011 14:22

Yes, this is a bug.
Fix of the error will be included in the next build of dbForge Studio for MySQL.

sipe16
Posts: 8
Joined: Sat 12 Feb 2011 11:59

Post by sipe16 » Fri 11 Mar 2011 09:18

Super! Thanks

Viktor
Devart Team
Posts: 68
Joined: Thu 06 May 2010 08:12

Post by Viktor » Thu 17 Mar 2011 07:35

The new build of dbForge Studio for MySQL, v4.50.342 is available for download. Check that problem was fixed, please.

shartley
Posts: 1
Joined: Tue 29 Mar 2011 15:22

adding an index on a table with primary key auto_increment

Post by shartley » Tue 29 Mar 2011 15:31

It looks like the issue was fixed when adding an index, but still exists when editing an index. I have the most recent version of the software (4.5.342 Professional Edition) and this happened to me yesterday on my production system. It caused some real issues this morning. I just tested this issue on my development system and after editing an index the auto_increment attribute was gone.

I do really like this software. It has saved me countless hours.

Alexz
Devart Team
Posts: 165
Joined: Wed 10 Aug 2005 08:30

Post by Alexz » Wed 30 Mar 2011 07:07

Yes, you are right. We've reproduced this problem. It will be fixed in the next build of the product. We plan to release it today.
We'll inform you when the new build is available for download.

Alexz
Devart Team
Posts: 165
Joined: Wed 10 Aug 2005 08:30

Post by Alexz » Fri 01 Apr 2011 08:02

The problem was fixed. The new build (v4.50.348) is available for download.

Post Reply