32/64 bit problem with myisam_max_sort_file_size
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Medium
|
Stewart Smith |
Bug Description
tests/variables
--- ../tests/
+++ ../tests/
@@ -452,11 +452,11 @@
set global myisam_
select @@global.
@@global.
-92233720368537
+2146435072 100
set @svc=@@
select @@global.
@@global.
-92233720368537
+2146435072 100
set @@global.
select @@global.
@@global.
@@ -470,7 +470,7 @@
set @@global.
select @@global.
@@global.
-92233720368537
+2146435072 100
set @a=1, @b=2;
set @a=@b, @b=@a;
select @a, @b;
Changed in drizzle: | |
assignee: | nobody → Stewart Smith (stewart-flamingspork) |
Yup. Joy of using diff for this. :)
Jay... does the new test framework allow us to test this more sensibly? max_sort_ file_size is typed this way, since all of our file-size
There are several variables that will have different max values on 32
and 64 bit like this. (of course, in _this_ case, I'm not sure why
myisam_
variables should be 64-bit on either platform.) But the problem will be
there for memory buffers typed as size_t.
Monty
Brian Aker wrote: .test is failing on 32 bit for this: r/variables. result 2008-12-24 05:58:24.000000000 +0300 r/variables. reject 2008-12-24 06:12:07.000000000 +0300 max_sort_ file_size= default; myisam_ max_sort_ file_size, @@local. max_join_ size; myisam_ max_sort_ file_size @@local. max_join_ size 27232 100 global. myisam_ max_sort_ file_size, @svj=@@ local.max_ join_size; myisam_ max_sort_ file_size, @@local. max_join_ size; myisam_ max_sort_ file_size @@local. max_join_ size 27232 100 myisam_ max_sort_ file_size= 111,@@local. max_join_ size=222; myisam_ max_sort_ file_size, @@local. max_join_ size; myisam_ max_sort_ file_size @@local. max_join_ size myisam_ max_sort_ file_size= @svc, @@local. max_join_ size=@svj; myisam_ max_sort_ file_size, @@local. max_join_ size; myisam_ max_sort_ file_size @@local. max_join_ size 27232 100
> Public bug reported:
>
> tests/variables
>
> --- ../tests/
> +++ ../tests/
> @@ -452,11 +452,11 @@
> set global myisam_
> select @@global.
> @@global.
> -92233720368537
> +2146435072 100
> set @svc=@@
> select @@global.
> @@global.
> -92233720368537
> +2146435072 100
> set @@global.
> select @@global.
> @@global.
> @@ -470,7 +470,7 @@
> set @@global.
> select @@global.
> @@global.
> -92233720368537
> +2146435072 100
> set @a=1, @b=2;
> set @a=@b, @b=@a;
> select @a, @b;
>
> ** Affects: drizzle
> Importance: Undecided
> Status: New
>