~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/func_math.test

Refactoring of the drizzle client.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
explain extended select log10(100),log10(18),log10(-4),log10(0),log10(NULL);
28
28
select pow(10,log10(10)),power(2,4);
29
29
explain extended select pow(10,log10(10)),power(2,4);
 
30
explain extended select rand(999999),rand();
30
31
select pi(),format(sin(pi()/2),6),format(cos(pi()/2),6),format(abs(tan(pi())),6),format(cot(1),6),format(asin(1),6),format(acos(0),6),format(atan(1),6);
31
32
explain extended select pi(),format(sin(pi()/2),6),format(cos(pi()/2),6),format(abs(tan(pi())),6),format(cot(1),6),format(asin(1),6),format(acos(0),6),format(atan(1),6);
32
33
select degrees(pi()),radians(360);
63
64
 
64
65
explain extended select degrees(pi()),radians(360);
65
66
 
 
67
#
 
68
# Bug #7281: problem with rand()
 
69
#
 
70
 
 
71
--error 1054
 
72
select rand(rand);
 
73
 
66
74
# End of 4.1 tests
67
75
 
68
76
#