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
30dfa67e
Commit
30dfa67e
authored
Jun 04, 2010
by
Vasil Dimov
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql-trunk-bugfixing -> mysql-trunk-innodb
parents
cf8de253
f7283295
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
mysql-test/include/not_var_link.inc
mysql-test/include/not_var_link.inc
+6
-1
mysql-test/suite/binlog/t/disabled.def
mysql-test/suite/binlog/t/disabled.def
+3
-3
plugin/semisync/semisync_master.cc
plugin/semisync/semisync_master.cc
+2
-1
No files found.
mysql-test/include/not_var_link.inc
View file @
30dfa67e
# Test if MYSQLTEST_VARDIR is a soft link
# If we run in parallel, we have a suffix "/$child_num", so chop off that.
perl
;
my
$path
=
$ENV
{
'MYSQLTEST_VARDIR'
};
$path
=~
s
|/
\d
+
$
||
;
open
(
ISLINK
,
">"
.
$ENV
{
'MYSQL_TMP_DIR'
}
.
"/mtr_var_link"
);
my
$mvr
=
-
l
$
ENV
{
'MYSQLTEST_VARDIR'
}
?
1
:
0
;
my
$mvr
=
-
l
$
path
?
1
:
0
;
print
ISLINK
"let
\$
mtr_var_link=
$mvr
;
\n
"
;
close
ISLINK
;
EOF
...
...
mysql-test/suite/binlog/t/disabled.def
View file @
30dfa67e
...
...
@@ -11,4 +11,4 @@
##############################################################################
binlog_truncate_innodb : BUG#42643 2009-02-06 mats Changes to InnoDB requires to complete fix for BUG#36763
binlog_unsafe : BUG#50312 2010-01-13 lsoares Warnings for unsafe sub-statement not returned to client
binlog_spurious_ddl_errors : BUG#54195 2010-06-03 alik binlog_spurious_ddl_errors.test fails, thus disabled
plugin/semisync/semisync_master.cc
View file @
30dfa67e
...
...
@@ -1128,12 +1128,13 @@ int ReplSemiSyncMaster::readSlaveReply(NET *net, uint32 server_id,
log_file_pos
=
uint8korr
(
packet
+
REPLY_BINLOG_POS_OFFSET
);
log_file_len
=
packet_len
-
REPLY_BINLOG_NAME_OFFSET
;
if
(
log_file_len
>
FN_REFLEN
)
if
(
log_file_len
>
=
FN_REFLEN
)
{
sql_print_error
(
"Read semi-sync reply binlog file length too large"
);
goto
l_end
;
}
strncpy
(
log_file_name
,
(
const
char
*
)
packet
+
REPLY_BINLOG_NAME_OFFSET
,
log_file_len
);
log_file_name
[
log_file_len
]
=
0
;
if
(
trc_level
&
kTraceDetail
)
sql_print_information
(
"%s: Got reply (%s, %lu)"
,
...
...
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