blob: 797056b00a1e51bbf57166ba027ff4f4833525f1 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# mdev-23741 sharing violation when renaming .frm file in ALTER
SET @saved_dbug = @@SESSION.debug_dbug;
SET debug_dbug='+d,file_sharing_violation';
CREATE TABLE t(i int) ENGINE=ARIA;
ALTER TABLE t ADD PRIMARY KEY (i);
FLUSH TABLES t;
SELECT * FROM t;
i
DROP TABLE t;
SET debug_dbug=@saved_dbug;
|