diff --git a/mysql-test/t/union.test b/mysql-test/t/union.test index 8ce4aa997fc..4594a9b8e24 100644 --- a/mysql-test/t/union.test +++ b/mysql-test/t/union.test @@ -213,7 +213,7 @@ select found_rows(); (SELECT SQL_CALC_FOUND_ROWS * FROM t1) UNION all (SELECT * FROM t2 LIMIT 1); select found_rows(); # This used to work in 4.0 but not anymore in 4.1 ---error 1149 +--error 1064 (SELECT SQL_CALC_FOUND_ROWS * FROM t1 LIMIT 1) UNION SELECT * FROM t2 LIMIT 1; #select found_rows();