List:Commits« Previous MessageNext Message »
From:Sergei Golubchik Date:November 29 2007 10:15am
Subject:Re: bk commit into 5.0 tree (tnurnberg:1.2557) BUG#31177
View as plain text  
Hi!

On Nov 29, Tatjana Azundris Nurnberg wrote:
> Sergei Golubchik <serg@stripped> writes:
> 
> > good. just one question:
> > you can have signed variables (GET_INT, GET_LONG, GET_LL) in
> > getopt_ull_limit_value() ?
> 
>   Yes, isn't it fun. ;-/ We're fine as far as command-line options are
>   concerned (now that I've corrected the GET_* for innobase to their
>   actual types), but you'll notice that we declare ull globally, but
>   not ll.  Which is because we only use ull in set_var.  Nevertheless,
>   we have variables like "concurrent-insert" which are eligible for
>   SET, are signed, but go through "unsigned" (or rather, "we only care
>   for length, not signedness") in set-var.  Thanks to the extra code,
>   that can no longer give rise to bugs, but I'm the first to agree
>   that it isn't as pretty as it could be.  May be worthwhile to write
>   a ticket "check whether signed server-variables actually need to be
>   signed, and if so, create a new signed sys-var type for them."

Can you fix it in this patch ? It's rather illogical that we check
signed types in getopt_ull_limit_value() and not in
getopt_ll_limit_value().
 
Regards / Mit vielen Grüssen,
Sergei

-- 
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /   Sergei Golubchik <serg@stripped>
 / /|_/ / // /\ \/ /_/ / /__  Principal Software Developer
/_/  /_/\_, /___/\___\_\___/  MySQL GmbH, Dachauer Str. 37, D-80335 München
       <___/                  Geschäftsführer: Kaj Arnö - HRB
München 162140
Thread
bk commit into 5.0 tree (tnurnberg:1.2557) BUG#31177Tatjana A Nuernberg28 Nov
  • Re: bk commit into 5.0 tree (tnurnberg:1.2557) BUG#31177Sergei Golubchik28 Nov
    • Re: bk commit into 5.0 tree (tnurnberg:1.2557) BUG#31177Tatjana Azundris Nurnberg29 Nov
      • Re: bk commit into 5.0 tree (tnurnberg:1.2557) BUG#31177Sergei Golubchik29 Nov
        • Re: bk commit into 5.0 tree (tnurnberg:1.2557) BUG#31177Tatiana Azundris Nurnberg30 Nov