New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't rename primary key with auto increment #14732
Comments
|
I confirm and this is a regression from 4.8.3. In current master, MySQL error 1068 is returned with no reason. Can be reproduced in sakila.actor. |
|
Maybe (guessing) it's because the key and/or auto-inc updates are done in a separate query from the main updates. |
Signed-off-by: Saurabh Srivastava <saurabhsrivastava312@gmail.com>
Signed-off-by: Saurabh Srivastava <saurabhsrivastava312@gmail.com>
|
Can someone help me find the rename PK ui ? |
|
Rename the field that has the primary key. |
Signed-off-by: Saurabh Srivastava <saurabhsrivastava312@gmail.com> Fix - phpmyadmin#14732 - taking care for phpmyadmin#13235 Signed-off-by: Saurabh Srivastava <saurabhsrivastava312@gmail.com>
|
It's happening again (still?) @ https://demo.phpmyadmin.net/master-config/index.php?route=/table/structure&db=test&table=a |
|
Shouldn't this be high-priority? |
|
Now that it is 5.0 + I agree |
|
@OlafvdSpek #15204 did not solve the issue ? |
|
I have solved this issue please review my PR. |
Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
Do tests cover this scenario? |
|
Yes, they do If you discover that I made a mistake please report ASAP |
|
But they didn't before? Otherwise I don't understand #14732 (comment) |
|
@OlafvdSpek no, not before |
When trying to rename the primary key, it returns a multiple primary keys error. Only happens when it has auto increment.
V: master
The text was updated successfully, but these errors were encountered: