diff options
author | unknown <mskold@mysql.com> | 2005-04-27 18:17:41 +0200 |
---|---|---|
committer | unknown <mskold@mysql.com> | 2005-04-27 18:17:41 +0200 |
commit | 27a6a8146417829d9edfcb8fb86306f985e03bd2 (patch) | |
tree | 271a87a13563c1c954f883b1f0422343d6f16a41 /mysql-test/t/ndb_multi.test | |
parent | b580f8ddf509f4f1e2c28b1ed49f440de918286b (diff) | |
download | mariadb-git-27a6a8146417829d9edfcb8fb86306f985e03bd2.tar.gz |
Fix for avoiding gettin Invalid schema object version when doing local changes
Diffstat (limited to 'mysql-test/t/ndb_multi.test')
-rw-r--r-- | mysql-test/t/ndb_multi.test | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mysql-test/t/ndb_multi.test b/mysql-test/t/ndb_multi.test index 24651913a79..85950c72cf9 100644 --- a/mysql-test/t/ndb_multi.test +++ b/mysql-test/t/ndb_multi.test @@ -18,6 +18,30 @@ select * from t1; select * from t2; show status like 'handler_discover%'; +# Check dropping and recreating table on same server +connect (con1,localhost,,,test); +connect (con2,localhost,,,test); +connection con1; +select * from t1; +connection con2; +drop table t1; +create table t1 (a int) engine=ndbcluster; +insert into t1 value (2); +connection con1; +select * from t1; + +# Check dropping and recreating table on different server +connection server2; +show status like 'handler_discover%'; +drop table t1; +create table t1 (a int) engine=ndbcluster; +insert into t1 value (2); +connection server1; +# Currently a retry is required remotely +--error 1296 +select * from t1; +select * from t1; + # Connect to server2 and use the tables from there connection server2; flush status; |