summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/windows_debug.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/windows_debug.test')
-rw-r--r--mysql-test/main/windows_debug.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/main/windows_debug.test b/mysql-test/main/windows_debug.test
new file mode 100644
index 00000000..32ea5755
--- /dev/null
+++ b/mysql-test/main/windows_debug.test
@@ -0,0 +1,19 @@
+# Windows-specific tests , debug mode
+
+--source include/have_debug.inc
+--source include/windows.inc
+
+--echo # 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;
+DROP TABLE t;
+
+SET debug_dbug=@saved_dbug;
+
+#End of 10.3 tests