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
89f28a77
Commit
89f28a77
authored
Dec 05, 2008
by
Magnus Svensson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#41061 analyze-warnings times out sporadically in pushbuild
parent
aeb6b5af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
mysql-test/include/mtr_warnings.sql
mysql-test/include/mtr_warnings.sql
+10
-5
No files found.
mysql-test/include/mtr_warnings.sql
View file @
89f28a77
...
...
@@ -218,6 +218,8 @@ INSERT INTO global_suppressions VALUES
--
CREATE
DEFINER
=
root
@
localhost
PROCEDURE
check_warnings
(
OUT
result
INT
)
BEGIN
DECLARE
`text`
text
charset
utf8
;
DECLARE
`pos`
bigint
unsigned
;
-- Don't write these queries to binlog
SET
SQL_LOG_BIN
=
0
;
...
...
@@ -234,15 +236,17 @@ BEGIN
WHERE
variable_name
=
'LOG_ERROR'
;
SET
@@
session
.
max_allowed_packet
=
1024
*
1024
*
1024
;
SET
@
text
=
load_file
(
@
log_error
);
-- select
@
text;
SET
text
=
load_file
(
@
log_error
);
-- select text;
WHILE
LOCATE
(
'
\n
'
,
@
text
)
DO
SET
pos
=
LOCATE
(
'
\n
'
,
text
);
WHILE
pos
DO
INSERT
error_log
(
line
)
VALUES
(
SUBSTR
(
@
text
,
1
,
LOCATE
(
'
\n
'
,
@
text
)
-
1
)
SUBSTR
(
text
,
1
,
pos
-
1
)
);
SET
@
text
=
SUBSTR
(
@
text
FROM
LOCATE
(
'
\n
'
,
@
text
)
+
1
);
SET
text
=
SUBSTR
(
text
FROM
pos
+
1
);
SET
pos
=
LOCATE
(
'
\n
'
,
text
);
END
WHILE
;
-- select * from error_log;
...
...
@@ -287,6 +291,7 @@ BEGIN
-- Cleanup for next test
TRUNCATE
test_suppressions
;
DROP
TABLE
error_log
,
suspect_lines
;
END
||
...
...
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