• unknown's avatar
    A fix and a test case for Bug#29306 "Truncated data in MS Access with decimal (3,1) columns in a · c7f2a5e7
    unknown authored
    VIEW".
    
    mysql_list_fields() C API function would incorrectly set MYSQL_FIELD::decimals
    member for some view columns.
    
    The problem was in an incomplete implementation of 
    Item_ident_for_show::make_field(), which is responsible for view
    columns metadata.
    
    
    sql/item.cc:
      A fix for Bug#29306 -- properly initialize decimals in 
      Item_ident_for_show::make_field
    tests/mysql_client_test.c:
      Add a test case forBug#29306. Fix warnings.
    c7f2a5e7
item.cc 184 KB