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
f38158f4
Commit
f38158f4
authored
Jul 07, 2007
by
ramil/ram@ramil.myoffice.izhnet.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/ram/work/b29420/b29420.5.0
into mysql.com:/home/ram/work/b29420/b29420.5.1
parents
ba650762
483bd10d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
5 deletions
+23
-5
mysql-test/suite/rpl/r/rpl_rotate_logs.result
mysql-test/suite/rpl/r/rpl_rotate_logs.result
+8
-0
mysql-test/suite/rpl/t/rpl_rotate_logs.test
mysql-test/suite/rpl/t/rpl_rotate_logs.test
+13
-1
sql/sql_repl.cc
sql/sql_repl.cc
+2
-4
No files found.
mysql-test/suite/rpl/r/rpl_rotate_logs.result
View file @
f38158f4
...
...
@@ -203,3 +203,11 @@ count(*)
100
unlock tables;
drop table if exists t1,t2,t3,t4;
End of 4.1 tests
show binlog events in 'non existing_binlog_file';
ERROR HY000: Error when executing command SHOW BINLOG EVENTS: Could not find target log
purge master logs before now();
show binlog events in '';
ERROR HY000: Error when executing command SHOW BINLOG EVENTS: Could not find target log
purge master logs before now();
End of 5.0 tests
mysql-test/suite/rpl/t/rpl_rotate_logs.test
View file @
f38158f4
...
...
@@ -166,4 +166,16 @@ connection master;
drop
table
if
exists
t1
,
t2
,
t3
,
t4
;
sync_slave_with_master
;
# End of 4.1 tests
--
echo
End
of
4.1
tests
#
# Bug #29420: crash with show and purge binlogs
#
--
error
1220
show
binlog
events
in
'non existing_binlog_file'
;
purge
master
logs
before
now
();
--
error
1220
show
binlog
events
in
''
;
purge
master
logs
before
now
();
--
echo
End
of
5.0
tests
sql/sql_repl.cc
View file @
f38158f4
...
...
@@ -1442,13 +1442,11 @@ err:
}
if
(
errmsg
)
{
my_error
(
ER_ERROR_WHEN_EXECUTING_COMMAND
,
MYF
(
0
),
"SHOW BINLOG EVENTS"
,
errmsg
);
DBUG_RETURN
(
TRUE
);
}
else
send_eof
(
thd
);
send_eof
(
thd
);
pthread_mutex_lock
(
&
LOCK_thread_count
);
thd
->
current_linfo
=
0
;
pthread_mutex_unlock
(
&
LOCK_thread_count
);
...
...
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