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
2fbd1777
Commit
2fbd1777
authored
Mar 09, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysqltest.test:
Fix typos. mysql-test/t/mysqltest.test: Fix typos.
parent
85d705b6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
mysql-test/t/mysqltest.test
mysql-test/t/mysqltest.test
+13
-13
No files found.
mysql-test/t/mysqltest.test
View file @
2fbd1777
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# $mysql_errno contains the return code of the last command
# $mysql_errno contains the return code of the last command
# sen
d
to the server.
# sen
t
to the server.
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# get $mysql_errno before the first statement
# get $mysql_errno before the first statement
# $mysql_errno should be -1
# $mysql_errno should be -1
...
@@ -50,7 +50,7 @@ select otto from (select 1 as otto) as t1;
...
@@ -50,7 +50,7 @@ select otto from (select 1 as otto) as t1;
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Negative case(statement):
# Negative case(statement):
# The der
vi
ed table t1 does not contain a column named 'friedrich' .
# The der
iv
ed table t1 does not contain a column named 'friedrich' .
# --> ERROR 42S22: Unknown column 'friedrich' in 'field list and
# --> ERROR 42S22: Unknown column 'friedrich' in 'field list and
# --> 1054: Unknown column 'friedrich' in 'field list'
# --> 1054: Unknown column 'friedrich' in 'field list'
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
...
@@ -68,7 +68,7 @@ select friedrich from (select 1 as otto) as t1;
...
@@ -68,7 +68,7 @@ select friedrich from (select 1 as otto) as t1;
# The following unmasked unsuccessful statement must give
# The following unmasked unsuccessful statement must give
# 1. mysqltest gives a 'failed'
# 1. mysqltest gives a 'failed'
# 2. does not produce a r/<test case>.reject file !!!
# 2. does not produce a r/<test case>.reject file !!!
# PLEASE uncomment it and check it
'
s effect
# PLEASE uncomment it and check its effect
#select friedrich from (select 1 as otto) as t1;
#select friedrich from (select 1 as otto) as t1;
...
@@ -114,7 +114,7 @@ select friedrich from (select 1 as otto) as t1;
...
@@ -114,7 +114,7 @@ select friedrich from (select 1 as otto) as t1;
# test cases for $mysql_errno
# test cases for $mysql_errno
#
#
# $mysql_errno is a builtin variable of mysqltest and contains the return code
# $mysql_errno is a builtin variable of mysqltest and contains the return code
# of the last command sen
d
to the server.
# of the last command sen
t
to the server.
#
#
# The following test cases often initialize $mysql_errno to 1064 by
# The following test cases often initialize $mysql_errno to 1064 by
# a command with wrong syntax.
# a command with wrong syntax.
...
@@ -217,7 +217,7 @@ garbage ;
...
@@ -217,7 +217,7 @@ garbage ;
execute
stmt
;
execute
stmt
;
eval
select
$mysql_errno
as
"after_successful_execute"
;
eval
select
$mysql_errno
as
"after_successful_execute"
;
# failing execute (table dropped)
# failing execute (table
has been
dropped)
drop
table
t1
;
drop
table
t1
;
--
error
1064
--
error
1064
garbage
;
garbage
;
...
@@ -249,8 +249,8 @@ eval select $mysql_errno as "after_failing_deallocate" ;
...
@@ -249,8 +249,8 @@ eval select $mysql_errno as "after_failing_deallocate" ;
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# test cases for "--disable_abort_on_error"
# test cases for "--disable_abort_on_error"
#
#
# "--disable_abort_on_error" switches the abort of mysqltest
# "--disable_abort_on_error" switches
off
the abort of mysqltest
# after "unmasked" failing statements
off
.
# after "unmasked" failing statements.
#
#
# The default is "--enable_abort_on_error".
# The default is "--enable_abort_on_error".
#
#
...
@@ -258,13 +258,13 @@ eval select $mysql_errno as "after_failing_deallocate" ;
...
@@ -258,13 +258,13 @@ eval select $mysql_errno as "after_failing_deallocate" ;
# --error <error number> and --error <error number>
# --error <error number> and --error <error number>
# in the line before the failing statement.
# in the line before the failing statement.
#
#
# There are some additional test case for $mysql_errno
# There are some additional test case
s
for $mysql_errno
# because "--disable_abort_on_error" enables a new situation.
# because "--disable_abort_on_error" enables a new situation.
# Example: "unmasked" statement fails + analysis of $mysql_errno
# Example: "unmasked" statement fails + analysis of $mysql_errno
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Switch
the abort on error off
and check the effect on $mysql_errno
# Switch
off the abort on error
and check the effect on $mysql_errno
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
--
error
1064
--
error
1064
garbage
;
garbage
;
...
@@ -345,7 +345,7 @@ select 3 from t1 ;
...
@@ -345,7 +345,7 @@ select 3 from t1 ;
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Test detect end of line "junk"
# Test detect end of line "junk"
# Most likely cause
s
by a missing delimiter
# Most likely cause
d
by a missing delimiter
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Too many parameters to function
# Too many parameters to function
...
@@ -1043,7 +1043,7 @@ let $message= . Here comes a very very long message that
...
@@ -1043,7 +1043,7 @@ let $message= . Here comes a very very long message that
--
source
include
/
show_msg80
.
inc
--
source
include
/
show_msg80
.
inc
#
#
# Test --enable_pars
ning / disable_parsn
ing
# Test --enable_pars
ing / disable_pars
ing
#
#
--
disable_query_log
--
disable_query_log
--
disable_parsing
--
disable_parsing
...
@@ -1070,9 +1070,9 @@ select "this will be executed";
...
@@ -1070,9 +1070,9 @@ select "this will be executed";
#
#
# Test that mysqltest fails when there are no queries executed
# Test that mysqltest fails when there are no queries executed
# but a result file exist
# but a result file exist
s
# NOTE! This will never happen as long as it's not allowed to have
# NOTE! This will never happen as long as it's not allowed to have
# test files that
does not produce any
output
# test files that
produce no
output
#--exec echo "something" > $MYSQLTEST_VARDIR/tmp/result_file.result
#--exec echo "something" > $MYSQLTEST_VARDIR/tmp/result_file.result
#--exec echo "let \$i= 1;" > $MYSQLTEST_VARDIR/tmp/query.sql
#--exec echo "let \$i= 1;" > $MYSQLTEST_VARDIR/tmp/query.sql
#--error 1
#--error 1
...
...
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