~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/func_math.test

  • Committer: Patrick Crews
  • Date: 2010-07-22 20:41:05 UTC
  • mfrom: (1666.2.4 build)
  • Revision ID: gleebix@gmail.com-20100722204105-v1l78g0mg02y2xw2
Rollup patch - test updates, innodb work, transaction log bug fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
#
99
99
select abs(-2) * -2;
100
100
 
101
 
#
102
 
# Bug #6172 RAND(a) should only accept constant values as arguments
103
 
#
104
 
CREATE TABLE t1 (a INT);
105
 
 
106
 
INSERT INTO t1 VALUES (1),(1),(1),(2);
107
 
SELECT RAND(2) * 1000, RAND(a) * 1000 FROM t1;
108
 
SELECT RAND(2) * 1000, RAND(a) * 1000 FROM t1 WHERE a = 1;
109
 
INSERT INTO t1 VALUES (3);
110
 
SELECT RAND(2) * 1000, RAND(a) * 1000 FROM t1;
111
 
SELECT RAND(2) * 1000, RAND(a) * 1000 FROM t1 WHERE a = 1;
112
 
 
113
 
DROP TABLE t1;  
114
 
 
115
101
# End of 4.1 tests
116
102
 
117
103
#