summaryrefslogtreecommitdiff
path: root/mysql-test/t/select_found.test
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2002-11-18 18:28:51 +0200
committerunknown <Sinisa@sinisa.nasamreza.org>2002-11-18 18:28:51 +0200
commit8e2346e88409006fddec39d2db08563275e0682f (patch)
treea55869643222627555bb60ebc97809da07dc271c /mysql-test/t/select_found.test
parent4e864685b3cc348e5928c0ed3f1fb6661a006a23 (diff)
downloadmariadb-git-8e2346e88409006fddec39d2db08563275e0682f.tar.gz
lot's of fixes with test cases
mysql-test/r/create.result: A test case for foreign key bug that is resolved mysql-test/r/select_found.result: test case for new select ... limit 0 behaviour mysql-test/t/create.test: test case for foreign key bug that is fixed mysql-test/t/select_found.test: test case for new behaviour of SELECT ... LIMIT 0 sql/sql_select.cc: SELECT ... LIMIT 0 sql/sql_union.cc: replacing my dirty hack with Sanja's "proper" fix
Diffstat (limited to 'mysql-test/t/select_found.test')
-rw-r--r--mysql-test/t/select_found.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/select_found.test b/mysql-test/t/select_found.test
index c67c99924c3..c8458dd3aea 100644
--- a/mysql-test/t/select_found.test
+++ b/mysql-test/t/select_found.test
@@ -86,6 +86,6 @@ SELECT SQL_CALC_FOUND_ROWS titre,numeropost,maxnumrep FROM t1 WHERE numeropost I
SELECT FOUND_ROWS();
SELECT SQL_CALC_FOUND_ROWS 1 FROM (SELECT 1) LIMIT 0;
SELECT FOUND_ROWS();
-SELECT SQL_CALC_FOUND_ROWS * FROM t1 LIMIT 0;
+SELECT SQL_CALC_FOUND_ROWS * FROM t1 WHERE numeropost > 1 LIMIT 0;
SELECT FOUND_ROWS();
drop table t1;