mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
don't crash if ALTER TABLE fails and a long transaction blocks MDL upgrade
This commit is contained in:
@@ -277,6 +277,7 @@ explain select count(*) from t1 where v between 'a' and 'a ' and v between 'a '
|
||||
--error ER_DUP_ENTRY
|
||||
alter table t1 add unique(v);
|
||||
select concat('*',v,'*',c,'*',t,'*') as qq from t1 where v='a' order by length(concat('*',v,'*',c,'*',t,'*'));
|
||||
flush tables;
|
||||
explain select * from t1 where v='a';
|
||||
|
||||
# GROUP BY
|
||||
|
Reference in New Issue
Block a user