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
0b1fdf0b
Commit
0b1fdf0b
authored
Oct 08, 2009
by
Magnus Blåudd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#47129 fix small bug in test
parent
c9201f9f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
mysql-test/suite/binlog/t/binlog_stm_unsafe_warning.test
mysql-test/suite/binlog/t/binlog_stm_unsafe_warning.test
+5
-5
No files found.
mysql-test/suite/binlog/t/binlog_stm_unsafe_warning.test
View file @
0b1fdf0b
...
@@ -94,22 +94,22 @@ DROP TABLE t1;
...
@@ -94,22 +94,22 @@ DROP TABLE t1;
SET
GLOBAL
log_warnings
=
@
old_log_warnings
;
SET
GLOBAL
log_warnings
=
@
old_log_warnings
;
let
$log_error
=
`SELECT @@GLOBAL.log_error`
;
let
$log_error
_
=
`SELECT @@GLOBAL.log_error`
;
if
(
!
$log_error
)
if
(
!
`select LENGTH('$log_error_')`
)
{
{
# MySQL Server on windows is started with --console and thus
# MySQL Server on windows is started with --console and thus
# does not know the location of its .err log, use default location
# does not know the location of its .err log, use default location
let
$log_error
=
$MYSQLTEST_VARDIR
/
log
/
mysqld
.
1.
err
;
let
$log_error
_
=
$MYSQLTEST_VARDIR
/
log
/
mysqld
.
1.
err
;
}
}
# Assign env variable LOG_ERROR
# Assign env variable LOG_ERROR
let
LOG_ERROR
=
$log_error
;
let
LOG_ERROR
=
$log_error
_
;
--
echo
# Count the number of times the "Unsafe" message was printed
--
echo
# Count the number of times the "Unsafe" message was printed
--
echo
# to the error log.
--
echo
# to the error log.
perl
;
perl
;
use
strict
;
use
strict
;
my
$log_error
=
$ENV
{
'LOG_ERROR'
}
||
die
"LOG_ERROR not set"
;
my
$log_error
=
$ENV
{
'LOG_ERROR'
}
or
die
"LOG_ERROR not set"
;
open
(
FILE
,
"
$log_error
"
)
or
die
(
"Unable to open
$log_error
: $!
\n
"
);
open
(
FILE
,
"
$log_error
"
)
or
die
(
"Unable to open
$log_error
: $!
\n
"
);
my
$count
=
()
=
grep
(
/
Bug
#46265/g,<FILE>);
my
$count
=
()
=
grep
(
/
Bug
#46265/g,<FILE>);
print
"Occurrences:
$count
\n
"
;
print
"Occurrences:
$count
\n
"
;
...
...
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