~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/func_op.test

  • Committer: Brian Aker
  • Date: 2008-09-04 19:31:00 UTC
  • Revision ID: brian@tangent.org-20080904193100-l849hgghfy4urj43
Changing default character set from this point on.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Description
2
 
# -----------
3
 
# Simple operands and arithmetic grouping
4
 
 
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;
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);
19
 
select t1.a, t2.a, t2.b from t1 left join t2 on t1.a=t2.a;
20
 
drop table t1, t2;
21
 
 
22
 
# End of 4.1 tests