I am using MariaDB (v10.4.11) and executing sql's via HeidiSQL (v11.3.0.6295).
I have a few tables set up, and I can edit some of them just fine, using either sqls or UI provided by HeidiSQL.
But, two of tables are not editable nor deletable. I tried to edit column names, delete columns, and even delete the entire tables via sqls and ui, but all failed. HeidiSQL crashes, or I have to stop the sql execution manually.
sqls I used are:
UPDATE table1
SET col1 = 'a'
WHERE col2 = 'b';
DROP TABLE table1;
When I execute above sqls on other tables, they work just fine. When I execute the same sqls above on those two tables, HeidiSQL crashes (no response).
I created a backup schema (same tables and same structures), and I could edit all the tables in the backup schema until someone else edited those tables. A co-worker inserted some data into those tables via python, and after that, the same thing happens. I cannot add new columns nor drop tables.
Another co-worker and I inserted into other tables and they are editable.
I looked into processlist and I killed queries that I made. If I kill all the queries (except root), will I be able to edit those tables?