Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b9a34310
Commit
b9a34310
authored
Jun 01, 2007
by
kostja@bodhi.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix more mysqltest warnings.
parent
91917311
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
mysql-test/t/mysqltest.test
mysql-test/t/mysqltest.test
+3
-8
mysql-test/t/strict.test
mysql-test/t/strict.test
+0
-2
No files found.
mysql-test/t/mysqltest.test
View file @
b9a34310
...
@@ -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
...
...
mysql-test/t/strict.test
View file @
b9a34310
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment