• Chad MILLER's avatar
    Bug#37301 Length and Max_length differ with no obvious reason(2nd version) · 21598ea0
    Chad MILLER authored
    Length value is the length of the field,
    Max_length is the length of the field value.
    So Max_length can not be more than Length.
    The fix: fixed calculation of the Item_empty_string item length
    
    (Patch applied and queued on demand of Trudy/Davi.)
    
    sql/item.h:
      fixed calculation of the item length
    sql/sql_show.cc:
      removed unnecessary code
    21598ea0
ps_4heap.result 103 KB