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
5c693173
Commit
5c693173
authored
Dec 07, 2010
by
Luis Soares
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#46166
Post merge fixes for mysql-5.5-bugteam.
parent
34e27121
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
mysql-test/suite/binlog/r/binlog_max_extension.result
mysql-test/suite/binlog/r/binlog_max_extension.result
+1
-2
mysql-test/suite/binlog/t/binlog_max_extension.test
mysql-test/suite/binlog/t/binlog_max_extension.test
+2
-1
sql/log.cc
sql/log.cc
+1
-1
sql/slave.cc
sql/slave.cc
+2
-1
sql/sql_repl.cc
sql/sql_repl.cc
+1
-1
No files found.
mysql-test/suite/binlog/r/binlog_max_extension.result
View file @
5c693173
...
@@ -3,6 +3,5 @@ call mtr.add_suppression("Log filename extension number exhausted:");
...
@@ -3,6 +3,5 @@ call mtr.add_suppression("Log filename extension number exhausted:");
call mtr.add_suppression("Can't generate a unique log-filename");
call mtr.add_suppression("Can't generate a unique log-filename");
RESET MASTER;
RESET MASTER;
FLUSH LOGS;
FLUSH LOGS;
Warnings:
ERROR HY000: Can't generate a unique log-filename master-bin.(1-999)
Warning 1098 Can't generate a unique log-filename master-bin.(1-999)
mysql-test/suite/binlog/t/binlog_max_extension.test
View file @
5c693173
...
@@ -58,7 +58,8 @@ EOF
...
@@ -58,7 +58,8 @@ EOF
# Assertion
# Assertion
###########
###########
# assertion: should throw warning
# assertion: should raise error
--
error
ER_NO_UNIQUE_LOGFILE
FLUSH
LOGS
;
FLUSH
LOGS
;
##############
##############
...
...
sql/log.cc
View file @
5c693173
...
@@ -5111,7 +5111,7 @@ int MYSQL_BIN_LOG::rotate_and_purge(uint flags)
...
@@ -5111,7 +5111,7 @@ int MYSQL_BIN_LOG::rotate_and_purge(uint flags)
to the current log.
to the current log.
*/
*/
if
(
!
write_incident
(
current_thd
,
FALSE
))
if
(
!
write_incident
(
current_thd
,
FALSE
))
flush_and_sync
();
flush_and_sync
(
0
);
#ifdef HAVE_REPLICATION
#ifdef HAVE_REPLICATION
check_purge
=
true
;
check_purge
=
true
;
...
...
sql/slave.cc
View file @
5c693173
...
@@ -523,7 +523,8 @@ int terminate_slave_threads(Master_info* mi,int thread_mask,bool skip_lock)
...
@@ -523,7 +523,8 @@ int terminate_slave_threads(Master_info* mi,int thread_mask,bool skip_lock)
if
(
flush_master_info
(
mi
,
TRUE
,
FALSE
))
if
(
flush_master_info
(
mi
,
TRUE
,
FALSE
))
DBUG_RETURN
(
ER_ERROR_DURING_FLUSH_LOGS
);
DBUG_RETURN
(
ER_ERROR_DURING_FLUSH_LOGS
);
if
(
my_sync
(
mi
->
rli
.
relay_log
.
get_log_file
()
->
file
,
MYF
(
MY_WME
)))
if
(
mi
->
rli
.
relay_log
.
is_open
()
&&
my_sync
(
mi
->
rli
.
relay_log
.
get_log_file
()
->
file
,
MYF
(
MY_WME
)))
DBUG_RETURN
(
ER_ERROR_DURING_FLUSH_LOGS
);
DBUG_RETURN
(
ER_ERROR_DURING_FLUSH_LOGS
);
if
(
my_sync
(
mi
->
fd
,
MYF
(
MY_WME
)))
if
(
my_sync
(
mi
->
fd
,
MYF
(
MY_WME
)))
...
...
sql/sql_repl.cc
View file @
5c693173
...
@@ -1925,7 +1925,7 @@ bool show_binlogs(THD* thd)
...
@@ -1925,7 +1925,7 @@ bool show_binlogs(THD* thd)
if
(
!
mysql_bin_log
.
is_open
())
if
(
!
mysql_bin_log
.
is_open
())
{
{
my_
message
(
ER_NO_BINARY_LOGGING
,
ER
(
ER_NO_BINARY_LOGGING
)
,
MYF
(
0
));
my_
error
(
ER_NO_BINARY_LOGGING
,
MYF
(
0
));
DBUG_RETURN
(
TRUE
);
DBUG_RETURN
(
TRUE
);
}
}
...
...
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