• unknown's avatar
    Bug #28492: subselect returns LONG in >5.0.24a and LONGLONG in <=5.0.24a · 4e9cef54
    unknown authored
    Integer values with 10 digits may or may not fit into an int column 
    (e.g. 2147483647 vs 6147483647).
    Thus when creating a temp table column for such an int we must
    use bigint instead.
    Fixed to use bigint.
    Also subsituted a "magic number" with a named constant.
    
    
    mysql-test/r/analyse.result:
      Bug #28492: Adjusted the results after having fixed the bug
    mysql-test/r/metadata.result:
      Bug #28492: test case
    mysql-test/r/olap.result:
      Bug #28492: Adjusted the results after having fixed the bug
    mysql-test/r/sp.result:
      Bug #28492: Adjusted the results after having fixed the bug
    mysql-test/r/view.result:
      Bug #28492: Adjusted the results after having fixed the bug
    mysql-test/t/metadata.test:
      Bug #28492: test case
    sql/field.h:
      Bug #28492: Replaced a magic number with a constant
    sql/sql_select.cc:
      Bug #28492: Treat integers with 10 and more digits as 
      bigint.
    4e9cef54
view.result 97.8 KB