Commit 5b013eb6 authored by unknown's avatar unknown

Fixed warnings raised from mysqltest (unknown -- commands)

parent 60456bd8
...@@ -145,11 +145,11 @@ select @@optimizer_prune_level; ...@@ -145,11 +145,11 @@ select @@optimizer_prune_level;
# #
# These are the values for the parameters that control the greedy optimizer # These are the values for the parameters that control the greedy optimizer
# (total 6 combinations - 3 for optimizer_search_depth, 2 for optimizer_prune_level): # (total 6 combinations - 3 for optimizer_search_depth, 2 for optimizer_prune_level):
-- # 3:
# set optimizer_search_depth=0; - automatic # set optimizer_search_depth=0; - automatic
# set optimizer_search_depth=1; - min # set optimizer_search_depth=1; - min
# set optimizer_search_depth=62; - max (default) # set optimizer_search_depth=62; - max (default)
-- # 2:
# set optimizer_prune_level=0 - exhaustive; # set optimizer_prune_level=0 - exhaustive;
# set optimizer_prune_level=1 - heuristic; # default # set optimizer_prune_level=1 - heuristic; # default
......
...@@ -512,10 +512,12 @@ select * from v1a join (t3 natural join t4) on a = y; ...@@ -512,10 +512,12 @@ select * from v1a join (t3 natural join t4) on a = y;
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# Negative tests (tests for errors) # Negative tests (tests for errors)
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# works in Oracle - bug
-- error 1052 -- error 1052
select * from t1 natural join (t3 cross join t4); -- works in Oracle - bug select * from t1 natural join (t3 cross join t4);
# works in Oracle - bug
-- error 1052 -- error 1052
select * from (t3 cross join t4) natural join t1; -- works in Oracle - bug select * from (t3 cross join t4) natural join t1;
-- error 1052 -- error 1052
select * from t1 join (t2, t3) using (b); select * from t1 join (t2, t3) using (b);
-- error 1052 -- error 1052
......
...@@ -50,7 +50,7 @@ update t1 set c = 13 where b <= 3; ...@@ -50,7 +50,7 @@ update t1 set c = 13 where b <= 3;
select * from t1 order by a; select * from t1 order by a;
update t1 set b = b + 1 where b > 4 and b < 7; update t1 set b = b + 1 where b > 4 and b < 7;
select * from t1 order by a; select * from t1 order by a;
-- Update primary key # Update primary key
update t1 set a = a + 10 where b > 1 and b < 7; update t1 set a = a + 10 where b > 1 and b < 7;
select * from t1 order by a; select * from t1 order by a;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment