Commit b9a34310 authored by kostja@bodhi.(none)'s avatar kostja@bodhi.(none)

Fix more mysqltest warnings.

parent 91917311
...@@ -46,11 +46,6 @@ select otto from (select 1 as otto) as t1; ...@@ -46,11 +46,6 @@ select otto from (select 1 as otto) as t1;
--error 0 --error 0
select otto from (select 1 as otto) as t1; select otto from (select 1 as otto) as t1;
# expectation <> response
-- // --error 1054
-- // select otto from (select 1 as otto) as t1;
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
# Negative case(statement): # Negative case(statement):
# The derived table t1 does not contain a column named 'friedrich' . # The derived table t1 does not contain a column named 'friedrich' .
...@@ -331,9 +326,9 @@ select 3 from t1 ; ...@@ -331,9 +326,9 @@ select 3 from t1 ;
# This is a comment # This is a comment
# This is a ; comment # This is a ; comment
# This is a -- comment # This is a -- comment
-- This is also a comment # -- This is also a comment
-- # This is also a comment # -- # This is also a comment
-- This is also a ; comment # -- This is also a ; comment
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
# Test comments with embedded command # Test comments with embedded command
......
...@@ -975,9 +975,7 @@ select * from t1; ...@@ -975,9 +975,7 @@ select * from t1;
# Check that select don't abort even in strict mode (for now) # Check that select don't abort even in strict mode (for now)
set sql_mode='traditional'; set sql_mode='traditional';
--disable_ps_warnings
select count(*) from t1 where STR_TO_DATE('2004.12.12 10:22:61','%Y.%m.%d %T') IS NULL; select count(*) from t1 where STR_TO_DATE('2004.12.12 10:22:61','%Y.%m.%d %T') IS NULL;
--enable_ps_warnings
drop table t1; drop table t1;
......
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