diff options
author | ramil@mysql.com <> | 2006-04-11 13:53:44 +0500 |
---|---|---|
committer | ramil@mysql.com <> | 2006-04-11 13:53:44 +0500 |
commit | a2cd8beb9689e10c2fa329dfc1b5a05fca5f52dc (patch) | |
tree | aa22d0311d3661efa8d11fe5c5c76b545a41e40d /mysql-test/r/func_op.result | |
parent | 587627b1fc83e5a4419cfdb86f632485cb533f0b (diff) | |
parent | 4791ce7942cfdb87153915d2c9ce4514a2287eda (diff) | |
download | mariadb-git-a2cd8beb9689e10c2fa329dfc1b5a05fca5f52dc.tar.gz |
Merge mysql.com:/usr/home/ram/work/mysql-4.0
into mysql.com:/usr/home/ram/work/mysql-4.1
Diffstat (limited to 'mysql-test/r/func_op.result')
-rw-r--r-- | mysql-test/r/func_op.result | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/r/func_op.result b/mysql-test/r/func_op.result index 6cd975b0911..9870af2c6f9 100644 --- a/mysql-test/r/func_op.result +++ b/mysql-test/r/func_op.result @@ -35,3 +35,14 @@ select -1 >> 0, -1 << 0; select -1 >> 1, -1 << 1; -1 >> 1 -1 << 1 9223372036854775807 18446744073709551614 +drop table if exists t1,t2; +create table t1(a int); +create table t2(a int, b int); +insert into t1 values (1), (2), (3); +insert into t2 values (1, 7), (3, 7); +select t1.a, t2.a, t2.b, bit_count(t2.b) from t1 left join t2 on t1.a=t2.a; +a a b bit_count(t2.b) +1 1 7 3 +2 NULL NULL NULL +3 3 7 3 +drop table t1, t2; |