~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/func_op.test

  • Committer: Jay Pipes
  • Date: 2008-07-17 17:54:00 UTC
  • mto: This revision was merged to the branch mainline in revision 182.
  • Revision ID: jay@mysql.com-20080717175400-xm2aazihjra8mdzq
Removal of DBUG from libdrizzle/ - Round 2

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