summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_op.result
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2003-12-10 17:30:37 +0300
committerkonstantin@mysql.com <>2003-12-10 17:30:37 +0300
commit38c454b0e45de51652fb2fdd71a392aa336b21fa (patch)
tree0902a94e5ddab6700bd2269d5af63e9a7875179b /mysql-test/r/func_op.result
parentea81fd27bb4bb2e62f418317e4b4d2961efa7a94 (diff)
downloadmariadb-git-38c454b0e45de51652fb2fdd71a392aa336b21fa.tar.gz
fix for bug #1993 'bit functions do not return unsigned values'
introduced base class Item_func_bit for bit functions
Diffstat (limited to 'mysql-test/r/func_op.result')
-rw-r--r--mysql-test/r/func_op.result18
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/r/func_op.result b/mysql-test/r/func_op.result
index 9f49b5809df..d009a66353e 100644
--- a/mysql-test/r/func_op.result
+++ b/mysql-test/r/func_op.result
@@ -7,3 +7,21 @@ select 1 | (1+1),5 & 3,bit_count(7) ;
select 1 << 32,1 << 63, 1 << 64, 4 >> 2, 4 >> 63, 1<< 63 >> 60;
1 << 32 1 << 63 1 << 64 4 >> 2 4 >> 63 1<< 63 >> 60
4294967296 9223372036854775808 0 1 0 8
+select -1 | 0, -1 ^ 0, -1 & 0;
+-1 | 0 -1 ^ 0 -1 & 0
+18446744073709551615 18446744073709551615 0
+select -1 | 1, -1 ^ 1, -1 & 1;
+-1 | 1 -1 ^ 1 -1 & 1
+18446744073709551615 18446744073709551614 1
+select 1 | -1, 1 ^ -1, 1 & -1;
+1 | -1 1 ^ -1 1 & -1
+18446744073709551615 18446744073709551614 1
+select 0 | -1, 0 ^ -1, 0 & -1;
+0 | -1 0 ^ -1 0 & -1
+18446744073709551615 18446744073709551615 0
+select -1 >> 0, -1 << 0;
+-1 >> 0 -1 << 0
+18446744073709551615 18446744073709551615
+select -1 >> 1, -1 << 1;
+-1 >> 1 -1 << 1
+9223372036854775807 18446744073709551614