~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/count_distinct3.test

  • Committer: Brian Aker
  • Date: 2008-10-02 19:18:43 UTC
  • mto: (438.4.1 drizzle-clean-code)
  • mto: This revision was merged to the branch mainline in revision 435.
  • Revision ID: brian@tangent.org-20081002191843-tw3nnufik8qwf9rz
Removed UNSIGNED from parser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
while ($1)
16
16
{
17
17
  SET @rnd= RAND();
18
 
  SET @id = CAST(@rnd * @rnd_max AS UNSIGNED);
 
18
  SET @id = @rnd * @rnd_max;
19
19
  SET @id_rev= @rnd_max - @id;
20
 
  SET @grp= CAST(127.0 * @rnd AS UNSIGNED); 
 
20
  SET @grp= 127.0 * @rnd;
21
21
  INSERT INTO t1 (id, grp, id_rev) VALUES (@id, @grp, @id_rev); 
22
22
  dec $1;
23
23
}