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
b1090b13
Commit
b1090b13
authored
Dec 17, 2009
by
Alfranio Correia
Browse files
Options
Browse Files
Download
Plain Diff
merge mysql-5.1-bugteam (local) --> mysql-5.1-bugteam
parents
709f49cb
ad4bbb28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
mysql-test/suite/binlog/r/binlog_index.result
mysql-test/suite/binlog/r/binlog_index.result
+1
-1
sql/log.cc
sql/log.cc
+6
-6
No files found.
mysql-test/suite/binlog/r/binlog_index.result
View file @
b1090b13
...
@@ -38,7 +38,7 @@ purge binary logs TO 'master-bin.000002';
...
@@ -38,7 +38,7 @@ purge binary logs TO 'master-bin.000002';
ERROR HY000: Fatal error during log purge
ERROR HY000: Fatal error during log purge
show warnings;
show warnings;
Level Code Message
Level Code Message
Error
1377 a problem with deleting master-bin.000001; consider examining correspondence of your binlog index file to the actual binlog files
Warning
1377 a problem with deleting master-bin.000001; consider examining correspondence of your binlog index file to the actual binlog files
Error 1377 Fatal error during log purge
Error 1377 Fatal error during log purge
reset master;
reset master;
# crash_purge_before_update_index
# crash_purge_before_update_index
...
...
sql/log.cc
View file @
b1090b13
...
@@ -3014,7 +3014,7 @@ bool MYSQL_BIN_LOG::reset_logs(THD* thd)
...
@@ -3014,7 +3014,7 @@ bool MYSQL_BIN_LOG::reset_logs(THD* thd)
}
}
else
else
{
{
push_warning_printf
(
current_thd
,
MYSQL_ERROR
::
WARN_LEVEL_
ERROR
,
push_warning_printf
(
current_thd
,
MYSQL_ERROR
::
WARN_LEVEL_
WARN
,
ER_BINLOG_PURGE_FATAL_ERR
,
ER_BINLOG_PURGE_FATAL_ERR
,
"a problem with deleting %s; "
"a problem with deleting %s; "
"consider examining correspondence "
"consider examining correspondence "
...
@@ -3045,7 +3045,7 @@ bool MYSQL_BIN_LOG::reset_logs(THD* thd)
...
@@ -3045,7 +3045,7 @@ bool MYSQL_BIN_LOG::reset_logs(THD* thd)
}
}
else
else
{
{
push_warning_printf
(
current_thd
,
MYSQL_ERROR
::
WARN_LEVEL_
ERROR
,
push_warning_printf
(
current_thd
,
MYSQL_ERROR
::
WARN_LEVEL_
WARN
,
ER_BINLOG_PURGE_FATAL_ERR
,
ER_BINLOG_PURGE_FATAL_ERR
,
"a problem with deleting %s; "
"a problem with deleting %s; "
"consider examining correspondence "
"consider examining correspondence "
...
@@ -3481,7 +3481,7 @@ int MYSQL_BIN_LOG::purge_index_entry(THD *thd, ulonglong *decrease_log_space,
...
@@ -3481,7 +3481,7 @@ int MYSQL_BIN_LOG::purge_index_entry(THD *thd, ulonglong *decrease_log_space,
*/
*/
if
(
thd
)
if
(
thd
)
{
{
push_warning_printf
(
thd
,
MYSQL_ERROR
::
WARN_LEVEL_
ERROR
,
push_warning_printf
(
thd
,
MYSQL_ERROR
::
WARN_LEVEL_
WARN
,
ER_BINLOG_PURGE_FATAL_ERR
,
ER_BINLOG_PURGE_FATAL_ERR
,
"a problem with getting info on being purged %s; "
"a problem with getting info on being purged %s; "
"consider examining correspondence "
"consider examining correspondence "
...
@@ -3509,7 +3509,7 @@ int MYSQL_BIN_LOG::purge_index_entry(THD *thd, ulonglong *decrease_log_space,
...
@@ -3509,7 +3509,7 @@ int MYSQL_BIN_LOG::purge_index_entry(THD *thd, ulonglong *decrease_log_space,
{
{
if
(
thd
)
if
(
thd
)
{
{
push_warning_printf
(
thd
,
MYSQL_ERROR
::
WARN_LEVEL_
ERROR
,
push_warning_printf
(
thd
,
MYSQL_ERROR
::
WARN_LEVEL_
WARN
,
ER_BINLOG_PURGE_FATAL_ERR
,
ER_BINLOG_PURGE_FATAL_ERR
,
"a problem with deleting %s and "
"a problem with deleting %s and "
"reading the binlog index file"
,
"reading the binlog index file"
,
...
@@ -3557,7 +3557,7 @@ int MYSQL_BIN_LOG::purge_index_entry(THD *thd, ulonglong *decrease_log_space,
...
@@ -3557,7 +3557,7 @@ int MYSQL_BIN_LOG::purge_index_entry(THD *thd, ulonglong *decrease_log_space,
{
{
if
(
thd
)
if
(
thd
)
{
{
push_warning_printf
(
thd
,
MYSQL_ERROR
::
WARN_LEVEL_
ERROR
,
push_warning_printf
(
thd
,
MYSQL_ERROR
::
WARN_LEVEL_
WARN
,
ER_BINLOG_PURGE_FATAL_ERR
,
ER_BINLOG_PURGE_FATAL_ERR
,
"a problem with deleting %s; "
"a problem with deleting %s; "
"consider examining correspondence "
"consider examining correspondence "
...
@@ -3647,7 +3647,7 @@ int MYSQL_BIN_LOG::purge_logs_before_date(time_t purge_time)
...
@@ -3647,7 +3647,7 @@ int MYSQL_BIN_LOG::purge_logs_before_date(time_t purge_time)
*/
*/
if
(
thd
)
if
(
thd
)
{
{
push_warning_printf
(
thd
,
MYSQL_ERROR
::
WARN_LEVEL_
ERROR
,
push_warning_printf
(
thd
,
MYSQL_ERROR
::
WARN_LEVEL_
WARN
,
ER_BINLOG_PURGE_FATAL_ERR
,
ER_BINLOG_PURGE_FATAL_ERR
,
"a problem with getting info on being purged %s; "
"a problem with getting info on being purged %s; "
"consider examining correspondence "
"consider examining correspondence "
...
...
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