• unknown's avatar
    Bug#20305: PROCEDURE ANALYSE() returns wrong M for FLOAT(M, D) and DOUBLE(M, D) · 155b417c
    unknown authored
    
    mysql-test/r/analyse.result:
      Added Results
    mysql-test/t/analyse.test:
      Added test cases to make sure field_str and field_real return correctly.
    sql/sql_analyse.cc:
      According the manaul, when declaring a FLOAT(M, N), N equals the number of decimal places and M equals the total number of
      digits in the number.
    155b417c
analyse.test 3.06 KB