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
02ee7434
Commit
02ee7434
authored
Nov 16, 2000
by
sasha@mysql.sashanet.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge work.mysql.com:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
parents
2596e464
be2a121e
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
7 deletions
+15
-7
.bzrignore
.bzrignore
+3
-0
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-1
sql/log.cc
sql/log.cc
+1
-1
sql/mysqlbinlog.cc
sql/mysqlbinlog.cc
+3
-2
sql/slave.cc
sql/slave.cc
+4
-2
sql/sql_repl.cc
sql/sql_repl.cc
+3
-1
No files found.
.bzrignore
View file @
02ee7434
...
...
@@ -176,3 +176,6 @@ repl-tests/test-repl-ts/repl-timestamp.master.reject
client/.mysqladmin.c.swp
repl-tests/test-repl/sum-wlen-slave.master.reje
support-files/mysql-3.23.28-gamma.spec
repl-tests/test-repl/foo-dump-slave.master.
repl-tests/test-repl/sum-wlen-slave.master.
repl-tests/test-repl/sum-wlen-slave.master.re
BitKeeper/etc/logging_ok
View file @
02ee7434
monty@donna.mysql.com
monty@narttu.mysql.fi
sasha@mysql.sashanet.com
serg@serg.mysql.com
monty@narttu.mysql.fi
sql/log.cc
View file @
02ee7434
...
...
@@ -276,7 +276,7 @@ int MYSQL_LOG::find_first_log(LOG_INFO* linfo, const char* log_name)
// if the log entry matches, empty string matching anything
if
(
!
log_name_len
||
(
log_name_len
==
length
+
1
&&
fname
[
log_name_len
]
==
'\n'
&&
(
log_name_len
==
length
-
1
&&
fname
[
log_name_len
]
==
'\n'
&&
!
memcmp
(
fname
,
log_name
,
log_name_len
)))
{
fname
[
length
-
1
]
=
0
;
// remove last \n
...
...
sql/mysqlbinlog.cc
View file @
02ee7434
...
...
@@ -310,7 +310,7 @@ Unfortunately, no sweepstakes today, adjusted position to 4\n");
static
void
dump_local_log_entries
(
const
char
*
logname
)
{
File
fd
;
File
fd
=
-
1
;
IO_CACHE
cache
,
*
file
=
&
cache
;
int
rec_count
=
0
;
...
...
@@ -368,6 +368,7 @@ read error",
rec_count
++
;
delete
ev
;
}
if
(
fd
>=
0
)
my_close
(
fd
,
MYF
(
MY_WME
));
end_io_cache
(
file
);
}
...
...
sql/slave.cc
View file @
02ee7434
...
...
@@ -756,8 +756,10 @@ static int exec_event(THD* thd, NET* net, MASTER_INFO* mi, int event_len)
sql_exchange
ex
((
char
*
)
lev
->
fname
,
lev
->
sql_ex
.
opt_flags
&&
DUMPFILE_FLAG
);
String
field_term
(
&
lev
->
sql_ex
.
field_term
,
1
),
enclosed
(
&
lev
->
sql_ex
.
enclosed
,
1
),
line_term
(
&
lev
->
sql_ex
.
line_term
,
1
),
escaped
(
&
lev
->
sql_ex
.
escaped
,
1
),
line_start
(
&
lev
->
sql_ex
.
line_start
,
1
);
enclosed
(
&
lev
->
sql_ex
.
enclosed
,
1
),
line_term
(
&
lev
->
sql_ex
.
line_term
,
1
),
escaped
(
&
lev
->
sql_ex
.
escaped
,
1
),
line_start
(
&
lev
->
sql_ex
.
line_start
,
1
);
ex
.
field_term
=
&
field_term
;
if
(
lev
->
sql_ex
.
empty_flags
&
FIELD_TERM_EMPTY
)
...
...
sql/sql_repl.cc
View file @
02ee7434
...
...
@@ -256,7 +256,7 @@ void mysql_binlog_send(THD* thd, char* log_ident, ulong pos, ushort flags)
if
(
pos
<
4
)
{
errmsg
=
"Con
t
ratulations! You have hit the magic number and can win \
errmsg
=
"Con
g
ratulations! You have hit the magic number and can win \
sweepstakes if you report the bug"
;
goto
err
;
}
...
...
@@ -291,6 +291,8 @@ sweepstakes if you report the bug";
packet
->
length
(
0
);
packet
->
append
(
"
\0
"
,
1
);
}
if
(
error
!=
LOG_READ_EOF
)
{
switch
(
error
)
...
...
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