~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/func_math.test

rand() merge from Stewart.

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();
31
30
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
31
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);
33
32
select degrees(pi()),radians(360);
64
63
 
65
64
explain extended select degrees(pi()),radians(360);
66
65
 
67
 
#
68
 
# Bug #7281: problem with rand()
69
 
#
70
 
 
71
 
--error 1054
72
 
select rand(rand);
73
 
 
74
66
# End of 4.1 tests
75
67
 
76
68
#