summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-04-19 12:48:47 +0200
committerSergei Golubchik <serg@mariadb.org>2019-04-24 11:15:38 +0200
commit2be3ab977631085dff93f583cab91dc0b8c2178d (patch)
treee68a2fc77ecf3cd854dce1bf465ba53a94354152
parente52a4ab693002ccfe9eb65e409f8b3457de450b9 (diff)
downloadmariadb-git-2be3ab977631085dff93f583cab91dc0b8c2178d.tar.gz
MDEV-15907 ASAN heap-use-after-free in strnmov / .. / fill_effective_table_privileges on concurrent GRANT and CREATE VIEW
rename a test file. Closes #1253
-rw-r--r--mysql-test/r/information_schema_prepare.result (renamed from mysql-test/r/mdev15907.result)0
-rw-r--r--mysql-test/t/information_schema_prepare.test7
-rw-r--r--mysql-test/t/mdev15907.test4
3 files changed, 7 insertions, 4 deletions
diff --git a/mysql-test/r/mdev15907.result b/mysql-test/r/information_schema_prepare.result
index 3b5ee16b14b..3b5ee16b14b 100644
--- a/mysql-test/r/mdev15907.result
+++ b/mysql-test/r/information_schema_prepare.result
diff --git a/mysql-test/t/information_schema_prepare.test b/mysql-test/t/information_schema_prepare.test
new file mode 100644
index 00000000000..c5f3f89ff29
--- /dev/null
+++ b/mysql-test/t/information_schema_prepare.test
@@ -0,0 +1,7 @@
+#
+# MDEV-15907 ASAN heap-use-after-free in strnmov / .. / fill_effective_table_privileges on concurrent GRANT and CREATE VIEW
+#
+PREPARE stmt2 FROM "CREATE VIEW v AS SELECT * FROM INFORMATION_SCHEMA.TABLES";
+FLUSH PRIVILEGES;
+EXECUTE stmt2;
+DROP VIEW v;
diff --git a/mysql-test/t/mdev15907.test b/mysql-test/t/mdev15907.test
deleted file mode 100644
index 3b5ee16b14b..00000000000
--- a/mysql-test/t/mdev15907.test
+++ /dev/null
@@ -1,4 +0,0 @@
-PREPARE stmt2 FROM "CREATE VIEW v AS SELECT * FROM INFORMATION_SCHEMA.TABLES";
-FLUSH PRIVILEGES;
-EXECUTE stmt2;
-DROP VIEW v;