• unknown's avatar
    Bug#20305: PROCEDURE ANALYSE() returns wrong M for FLOAT(M, D) and DOUBLE(M, D) · 314e1059
    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.
    314e1059
analyse.result 8.14 KB