On Wed, Aug 26, 2009 at 12:56 PM, Jay Pipes<email address hidden> wrote:
> Seems like a pretty straightforward fix:
>
> Either change the transaction_prealloc_size to a uint64_t or fix the
> throw_bounds_warning() function to not truncate/change the actual value
> returned by val_int() (which is of type int64_t...
>
> Joe, care to give it a try?
>
> -jay
>
> --
> Failure to detect error in allocating transcation_prealloc_size
> https://bugs.launchpad.net/bugs/377826
> You received this bug notification because you are a member of Drizzle-
> developers, which is subscribed to Drizzle.
>
> Status in A Lightweight SQL Database for Cloud and Web: Confirmed
>
> Bug description:
> Two problems with the variables-big.test in the big test suite.
>
> 1. Error is not detected when running the command:
>
> set session transaction_prealloc_size=1024*1024*1024*5;
>
> 2. Incorrect error message is being produced when running the command:
>
> set session transaction_prealloc_size=1024*1024*1024*4; The error message says:
>
> Error 1292 Truncated incorrect transaction_prealloc_size value: '0'
>
> and it should say:
>
> Error 1292 Truncated incorrect transaction_prealloc_size value: '4294967296'
>
> The big test suite is being run from on Hudson on drizzle-os (OpenSolaris x86) machine, see http://gorf.tangent.org/hudson/job/drizzle-drizzle-os-test-big/
>
> % diff suite/big/r/variables-big.re*
> 15c15
> < Error 1292 Truncated incorrect transaction_prealloc_size value: '0'
> ---
>> Warning 1292 Truncated incorrect transaction_prealloc_size value: '4294967296'
> 19a20,21
>> Warnings:
>> Warning 1292 Truncated incorrect transaction_prealloc_size value: '5368709120'
>
Sure, I'll give it a try!
Thanks
-Diego
On Wed, Aug 26, 2009 at 12:56 PM, Jay Pipes<email address hidden> wrote: prealloc_ size to a uint64_t or fix the warning( ) function to not truncate/change the actual value prealloc_ size /bugs.launchpad .net/bugs/ 377826 prealloc_ size=1024* 1024*1024* 5; prealloc_ size=1024* 1024*1024* 4; The error message says: prealloc_ size value: '0' prealloc_ size value: '4294967296' gorf.tangent. org/hudson/ job/drizzle- drizzle- os-test- big/ r/variables- big.re* prealloc_ size value: '0' prealloc_ size value: '4294967296' prealloc_ size value: '5368709120'
> Seems like a pretty straightforward fix:
>
> Either change the transaction_
> throw_bounds_
> returned by val_int() (which is of type int64_t...
>
> Joe, care to give it a try?
>
> -jay
>
> --
> Failure to detect error in allocating transcation_
> https:/
> You received this bug notification because you are a member of Drizzle-
> developers, which is subscribed to Drizzle.
>
> Status in A Lightweight SQL Database for Cloud and Web: Confirmed
>
> Bug description:
> Two problems with the variables-big.test in the big test suite.
>
> 1. Error is not detected when running the command:
>
> set session transaction_
>
> 2. Incorrect error message is being produced when running the command:
>
> set session transaction_
>
> Error 1292 Truncated incorrect transaction_
>
> and it should say:
>
> Error 1292 Truncated incorrect transaction_
>
> The big test suite is being run from on Hudson on drizzle-os (OpenSolaris x86) machine, see http://
>
> % diff suite/big/
> 15c15
> < Error 1292 Truncated incorrect transaction_
> ---
>> Warning 1292 Truncated incorrect transaction_
> 19a20,21
>> Warnings:
>> Warning 1292 Truncated incorrect transaction_
>
-- www.fmpwizard. com
Diego Medina
Web Developer
http://