• Jorgen Loland's avatar
    Bug#48052: Valgrind warning - uninitialized value in · 2a254a13
    Jorgen Loland authored
               init_read_record() - (records.cc:274)
          
    Item_cond::used_tables_cache was accessed in
    records.cc#init_read_record() without being initialized. It had
    not been initialized because it was wrongly assumed that the
    Item's variables would not be accessed, and hence
    quick_fix_field() was used instead of fix_fields() to save a few
    CPU cycles at creation time.
    
    The fix is to properly initilize the Item by replacing
    quick_fix_field() with fix_fields().
    2a254a13
select.result 132 KB