diff options
author | unknown <vva@eagle.mysql.r18.ru> | 2004-04-03 02:50:40 +0500 |
---|---|---|
committer | unknown <vva@eagle.mysql.r18.ru> | 2004-04-03 02:50:40 +0500 |
commit | 8abda715d4d6bf75bb4470c7acc86b9dd224012e (patch) | |
tree | d11f20cfad24e7482cec79e75d52100f362241c4 /mysql-test/r/synchronization.result | |
parent | cdd20d7292e9a9340c02b0769d19efec5533c4b4 (diff) | |
download | mariadb-git-8abda715d4d6bf75bb4470c7acc86b9dd224012e.tar.gz |
added skipped ``mysql-test/r/synchronization.result''
Diffstat (limited to 'mysql-test/r/synchronization.result')
-rw-r--r-- | mysql-test/r/synchronization.result | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mysql-test/r/synchronization.result b/mysql-test/r/synchronization.result new file mode 100644 index 00000000000..87800939ed9 --- /dev/null +++ b/mysql-test/r/synchronization.result @@ -0,0 +1,23 @@ +CREATE TABLE t1 (a int); + CREATE TABLE t2 LIKE t1; +ALTER TABLE t1 add key(a); +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `a` int(11) default NULL +) ENGINE=MyISAM DEFAULT CHARSET=latin1 +drop table t1, t2; +CREATE TABLE t1 (a int); + CREATE TABLE t2 LIKE t1; +CREATE TABLE t2 (b int); +let's take a look at result of create .. like : +----------- +ERROR HY000: Can't create/write to file './test/t2.frm' (Errcode: 17) +----------- + +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `b` int(11) default NULL +) ENGINE=MyISAM DEFAULT CHARSET=latin1 +drop table t1, t2; |