1
by brian
clean slate |
1 |
# Description |
2 |
# ----------- |
|
3 |
# Simple operands and arithmetic grouping |
|
4 |
||
512
by Brian Aker
Adding back more test cases. |
5 |
select 1+1,1-1,1+1*2,8/5,8%5,mod(8,5),mod(8,5),-(1+1)*-2; |
6 |
explain extended select 1+1,1-1,1+1*2,8/5,8%5,mod(8,5),mod(8,5),-(1+1)*-2; |
|
1
by brian
clean slate |
7 |
|
8 |
#
|
|
9 |
# Bug 13044: wrong bit_count() results |
|
10 |
#
|
|
11 |
||
12 |
--disable_warnings
|
|
13 |
drop table if exists t1,t2; |
|
14 |
--enable_warnings
|
|
15 |
create table t1(a int); |
|
16 |
create table t2(a int, b int); |
|
17 |
insert into t1 values (1), (2), (3); |
|
18 |
insert into t2 values (1, 7), (3, 7); |
|
512
by Brian Aker
Adding back more test cases. |
19 |
select t1.a, t2.a, t2.b from t1 left join t2 on t1.a=t2.a; |
1
by brian
clean slate |
20 |
drop table t1, t2; |
21 |
||
22 |
# End of 4.1 tests |