summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_op.result
diff options
context:
space:
mode:
authorunknown <ramil@mysql.com>2006-04-11 13:53:44 +0500
committerunknown <ramil@mysql.com>2006-04-11 13:53:44 +0500
commit974752bc1e9b923e10dfc21f56d699bb5a37bc8b (patch)
treeaa22d0311d3661efa8d11fe5c5c76b545a41e40d /mysql-test/r/func_op.result
parent20270e430715194ae0782b71749175328f6c86fb (diff)
parentd943c58761e13c8fdad2a227024760a364d070dc (diff)
downloadmariadb-git-974752bc1e9b923e10dfc21f56d699bb5a37bc8b.tar.gz
Merge mysql.com:/usr/home/ram/work/mysql-4.0
into mysql.com:/usr/home/ram/work/mysql-4.1 mysql-test/r/func_op.result: Auto merged sql/item_func.cc: Auto merged mysql-test/t/func_op.test: SCCS merged
Diffstat (limited to 'mysql-test/r/func_op.result')
-rw-r--r--mysql-test/r/func_op.result11
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;