A fix (bug #6089: FOUND_ROWS returns wrong values when no table/view is used).
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.
Showing
Please register or sign in to comment