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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
96f5f5fb
Commit
96f5f5fb
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
6d2f6197
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 @
96f5f5fb
...
...
@@ -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 @
96f5f5fb
...
...
@@ -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