diff options
author | unknown <mskold@mysql.com> | 2004-08-23 17:24:03 +0200 |
---|---|---|
committer | unknown <mskold@mysql.com> | 2004-08-23 17:24:03 +0200 |
commit | a3e0b69bfb736367fa840465766dc266bcc361fb (patch) | |
tree | d6d5217f4833dd1bf502baadedc125941ae87784 /mysql-test/t/ndb_blob.test | |
parent | 4f1230a5a9088d923a243ebef1d2e9dbb0d9698f (diff) | |
download | mariadb-git-a3e0b69bfb736367fa840465766dc266bcc361fb.tar.gz |
Fix for bug#5171
Diffstat (limited to 'mysql-test/t/ndb_blob.test')
-rw-r--r-- | mysql-test/t/ndb_blob.test | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mysql-test/t/ndb_blob.test b/mysql-test/t/ndb_blob.test index c1166a7a90c..d33168d9da6 100644 --- a/mysql-test/t/ndb_blob.test +++ b/mysql-test/t/ndb_blob.test @@ -2,6 +2,7 @@ --disable_warnings drop table if exists t1; +drop database if exists test2; --enable_warnings # @@ -203,6 +204,31 @@ where c >= 100; commit; select * from t1 where c >= 100 order by a; +# alter table + +select * from t1 order by a; +alter table t1 add x int; +select * from t1 order by a; +alter table t1 drop x; +select * from t1 order by a; + +# multi db + +create database test2; +use test2; + +CREATE TABLE t2 ( + a bigint unsigned NOT NULL PRIMARY KEY, + b int unsigned not null, + c int unsigned +) engine=ndbcluster; + +insert into t2 values (1,1,1),(2,2,2); +select * from test.t1,t2 where test.t1.a = t2.a order by test.t1.a; + +drop table t2; +use test; + # range scan delete delete from t1 where c >= 100; commit; |