diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2002-11-18 18:28:51 +0200 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2002-11-18 18:28:51 +0200 |
commit | 4b8926ac1dedd9977089c8b45ea62ea7ccbb69f9 (patch) | |
tree | a55869643222627555bb60ebc97809da07dc271c /mysql-test/r/select_found.result | |
parent | fb40381b1928a5be18f113e0ba71b356ceaa5a77 (diff) | |
download | mariadb-git-4b8926ac1dedd9977089c8b45ea62ea7ccbb69f9.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/r/select_found.result')
-rw-r--r-- | mysql-test/r/select_found.result | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/select_found.result b/mysql-test/r/select_found.result index 6fb9ea0ee0b..bbf0a8ba09f 100644 --- a/mysql-test/r/select_found.result +++ b/mysql-test/r/select_found.result @@ -173,9 +173,9 @@ SELECT SQL_CALC_FOUND_ROWS 1 FROM (SELECT 1) LIMIT 0; SELECT FOUND_ROWS(); FOUND_ROWS() 1 -SELECT SQL_CALC_FOUND_ROWS * FROM t1 LIMIT 0; +SELECT SQL_CALC_FOUND_ROWS * FROM t1 WHERE numeropost > 1 LIMIT 0; titre numeropost maxnumrep SELECT FOUND_ROWS(); FOUND_ROWS() -3 +2 drop table t1; |