summaryrefslogtreecommitdiff
path: root/mysql-test/r/ndb_basic.result
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2004-10-20 17:22:58 +0000
committerunknown <tomas@poseidon.ndb.mysql.com>2004-10-20 17:22:58 +0000
commit44db341fdb241ea954ce417f995e3b11c032d9b0 (patch)
treead22cf6b9c6918aa5a222e126d9106b6c08f8496 /mysql-test/r/ndb_basic.result
parentb76fb15ce6e71ab001f5fe25bee34e411ee9a35c (diff)
downloadmariadb-git-44db341fdb241ea954ce417f995e3b11c032d9b0.tar.gz
fix so that ndb handler can cope with char(0), mapped to char(1) for now
Diffstat (limited to 'mysql-test/r/ndb_basic.result')
-rw-r--r--mysql-test/r/ndb_basic.result19
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/r/ndb_basic.result b/mysql-test/r/ndb_basic.result
index 9f8dcf3610a..abe1b98b536 100644
--- a/mysql-test/r/ndb_basic.result
+++ b/mysql-test/r/ndb_basic.result
@@ -395,3 +395,22 @@ b attr1
9413 9412
drop table test.t1, t2;
drop database mysqltest;
+use test;
+create table t1 (a int primary key, b char(0));
+insert into t1 values (1,"");
+insert into t1 values (2,NULL);
+select * from t1 order by a;
+a b
+1
+2 NULL
+select * from t1 order by b;
+a b
+2 NULL
+1
+select * from t1 where b IS NULL;
+a b
+2 NULL
+select * from t1 where b IS NOT NULL;
+a b
+1
+drop table t1;