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
95dbffe2
Commit
95dbffe2
authored
Aug 09, 2008
by
Magnus Svensson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve printout for 'found warnings' and add an exit to please mysqltest
parent
cd0cd4e0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
mysql-test/include/check-warnings.test
mysql-test/include/check-warnings.test
+2
-1
mysql-test/include/mtr_warnings.sql
mysql-test/include/mtr_warnings.sql
+1
-1
No files found.
mysql-test/include/check-warnings.test
View file @
95dbffe2
...
...
@@ -8,5 +8,6 @@ call mtr.check_warnings(@result);
if
(
`select @result = 0`
){
skip
OK
;
}
echo
Found
warnings
;
--
enable_query_log
echo
^
Found
warnings
!!
;
exit
;
mysql-test/include/mtr_warnings.sql
View file @
95dbffe2
...
...
@@ -278,7 +278,7 @@ BEGIN
SELECT
@
log_error
;
SELECT
line
as
log_error
FROM
suspect_lines
WHERE
supressed
=
0
;
SELECT
*
FROM
test_supressions
;
--
SELECT * FROM test_supressions;
-- Return 2 -> check failed
SELECT
2
INTO
result
;
ELSE
...
...
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