Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Incomplete
-
10.6.4
-
"Ubuntu 20.04.3 LTS
Description
Trying to alter table structure shows this error message ... although table is empty and just created before doing this alter statement.
ALTER TABLE SUITE_OVERHEIDSLOKET_RELEASE.portal_policy_information MODIFY id INT AUTO_INCREMENT;
ERROR 1025 (HY000): Error on rename of './SUITE_OVERHEIDSLOKET_RELEASE/portal_policy_information' to './SUITE_OVERHEIDSLOKET_RELEASE/#sql-backup-d1586-2f8c9' (errno: 168 "Unknown (generic) error from engine")
Sorry, I only noticed this bug now.
Can you please provide a self-contained test case, starting with CREATE TABLE and ALTER TABLE? You can obfuscate the table and column names, and possibly omit some columns and indexes, but the SQL statements must be able to reproduce the bug.
It is also possible that this issue has meanwhile been fixed in MariaDB. Currently the latest release in the 10.6 series is 10.6.16.