• unknown's avatar
    A fix (bug #6089: FOUND_ROWS returns wrong values when no table/view is used). · 3bffc522
    unknown authored
    
    mysql-test/r/ps.result:
      A fix (bug #6089: FOUND_ROWS returns wrong values when no table/view is used).
      The second FOUND_ROWS() should return 1.
    sql/sql_class.cc:
      A fix (bug #6089: FOUND_ROWS returns wrong values when no table/view is used).
      limit_found_rows initialization added.
    sql/sql_select.cc:
      A fix (bug #6089: FOUND_ROWS returns wrong values when no table/view is used).
      thd->limit_found_rows is set to 1 when no table is used.
    3bffc522
select_found.test 5.22 KB