summaryrefslogtreecommitdiff
path: root/mysql-test/r/alter_table.result
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-07-26 10:52:40 +0200
committerserg@serg.mylan <>2004-07-26 10:52:40 +0200
commitb9512a55aa2ff17559886447a4b372179002568f (patch)
tree11de9582d4e9e770a0d0623fc68537dabe094bb6 /mysql-test/r/alter_table.result
parenta0bae8eb8b127d8bcfb5ebe96fb4f98fcb96fd79 (diff)
downloadmariadb-git-b9512a55aa2ff17559886447a4b372179002568f.tar.gz
BUG#4717 - check for valid table names in ALTER TABLE ... RENAME
Diffstat (limited to 'mysql-test/r/alter_table.result')
-rw-r--r--mysql-test/r/alter_table.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/alter_table.result b/mysql-test/r/alter_table.result
index c2fd5161353..e7a8d2c7cdf 100644
--- a/mysql-test/r/alter_table.result
+++ b/mysql-test/r/alter_table.result
@@ -380,3 +380,9 @@ t1 0 PRIMARY 1 Host A NULL NULL NULL BTREE
t1 0 PRIMARY 2 User A 0 NULL NULL BTREE
t1 1 Host 1 Host A NULL NULL NULL BTREE disabled
DROP TABLE t1;
+create table t1 (a int);
+alter table t1 rename to `t1\\`;
+Incorrect table name 't1\\'
+rename table t1 to `t1\\`;
+Incorrect table name 't1\\'
+drop table t1;