~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/order_by.result

  • Committer: Stewart Smith
  • Date: 2009-03-11 01:16:44 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-20090311011644-sj4p2peox2405p7k
fix system variables for correct endian architectures.

- remove sys_var_long (replace with 32 or 64 bit)
- union { uint32_t, uint64_t } isn't endian portable for setting uint64 and reading from uint32
- start to have out of range variables throw error instead of truncating and setting

Show diffs side-by-side

added added

removed removed

Lines of Context:
2302
2302
insert into t1 values (1,2),(3,2);
2303
2303
set session sort_buffer_size= 30000;
2304
2304
Warnings:
2305
 
Warning 1292    Truncated incorrect sort_buffer_size value: '30000'
 
2305
Error   1292    Truncated incorrect sort_buffer_size value: '30000'
2306
2306
set session max_sort_length= 2180;
2307
2307
select * from t1 order by b;
2308
2308
a       b