diff options
author | mskold@mysql.com <> | 2004-08-23 17:24:03 +0200 |
---|---|---|
committer | mskold@mysql.com <> | 2004-08-23 17:24:03 +0200 |
commit | c644595dacf6b3cd59cd0aed77a39c237b38ebac (patch) | |
tree | d6d5217f4833dd1bf502baadedc125941ae87784 /mysql-test/r/ndb_blob.result | |
parent | 1ffd4d6129995f1fcbe6441eaee97be7fde48a84 (diff) | |
download | mariadb-git-c644595dacf6b3cd59cd0aed77a39c237b38ebac.tar.gz |
Fix for bug#5171
Diffstat (limited to 'mysql-test/r/ndb_blob.result')
-rw-r--r-- | mysql-test/r/ndb_blob.result | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/mysql-test/r/ndb_blob.result b/mysql-test/r/ndb_blob.result index 89b53aea7d1..0e99c939ea7 100644 --- a/mysql-test/r/ndb_blob.result +++ b/mysql-test/r/ndb_blob.result @@ -1,4 +1,5 @@ drop table if exists t1; +drop database if exists test2; set autocommit=0; create table t1 ( a int not null primary key, @@ -220,6 +221,55 @@ a b c d 7 7xb7 777 7xdd7 8 8xb8 888 8xdd8 9 9xb9 999 9xdd9 +select * from t1 order by a; +a b c d +1 1xb1 111 1xdd1 +2 2xb2 222 2xdd2 +3 3xb3 333 3xdd3 +4 4xb4 444 4xdd4 +5 5xb5 555 5xdd5 +6 6xb6 666 6xdd6 +7 7xb7 777 7xdd7 +8 8xb8 888 8xdd8 +9 9xb9 999 9xdd9 +alter table t1 add x int; +select * from t1 order by a; +a b c d x +1 1xb1 111 1xdd1 NULL +2 2xb2 222 2xdd2 NULL +3 3xb3 333 3xdd3 NULL +4 4xb4 444 4xdd4 NULL +5 5xb5 555 5xdd5 NULL +6 6xb6 666 6xdd6 NULL +7 7xb7 777 7xdd7 NULL +8 8xb8 888 8xdd8 NULL +9 9xb9 999 9xdd9 NULL +alter table t1 drop x; +select * from t1 order by a; +a b c d +1 1xb1 111 1xdd1 +2 2xb2 222 2xdd2 +3 3xb3 333 3xdd3 +4 4xb4 444 4xdd4 +5 5xb5 555 5xdd5 +6 6xb6 666 6xdd6 +7 7xb7 777 7xdd7 +8 8xb8 888 8xdd8 +9 9xb9 999 9xdd9 +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; +a b c d a b c +1 1xb1 111 1xdd1 1 1 1 +2 2xb2 222 2xdd2 2 2 2 +drop table t2; +use test; delete from t1 where c >= 100; commit; select count(*) from t1; |