~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/type_newdecimal.test

  • Committer: Stewart Smith
  • Date: 2009-03-11 06:37:19 UTC
  • mto: (910.4.19 sparc) (937.2.1 sparc)
  • mto: This revision was merged to the branch mainline in revision 931.
  • Revision ID: stewart@flamingspork.com-20090311063719-v9iqjd00ts6260vv
batch up more INSERTs into transactions to help tests run quicker.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1024
1024
SHOW CREATE TABLE t1;
1025
1025
 
1026
1026
let $max_power= 32;
 
1027
begin;
1027
1028
while ($max_power)
1028
1029
{
1029
1030
   eval INSERT INTO t1 SET my_float = 1.175494345e-$max_power,
1031
1032
                           my_varchar = '1.175494345e-$max_power';
1032
1033
   dec $max_power;
1033
1034
}
 
1035
commit;
1034
1036
SELECT my_float, my_double, my_varchar FROM t1;
1035
1037
 
1036
1038
# The following statement produces results with garbage past