summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_op.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/func_op.test')
-rw-r--r--mysql-test/t/func_op.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/func_op.test b/mysql-test/t/func_op.test
new file mode 100644
index 00000000000..778c8406b8d
--- /dev/null
+++ b/mysql-test/t/func_op.test
@@ -0,0 +1,7 @@
+# Description
+# -----------
+# Simple operands and arithmetic grouping
+
+select 1+1,1-1,1+1*2,8/5,8%5,mod(8,5),mod(8,5)|0,-(1+1)*-2;
+select 1 | (1+1),5 & 3,bit_count(7) ;
+select 1 << 32,1 << 63, 1 << 64, 4 >> 2, 4 >> 63, 1<< 63 >> 60;