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
a6b3b8fa
Commit
a6b3b8fa
authored
Mar 14, 2005
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print more information
parent
9248f0d7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
sql/log.cc
sql/log.cc
+4
-1
No files found.
sql/log.cc
View file @
a6b3b8fa
...
@@ -2488,7 +2488,7 @@ int TC_LOG_MMAP::open(const char *opt_name)
...
@@ -2488,7 +2488,7 @@ int TC_LOG_MMAP::open(const char *opt_name)
{
{
inited
=
1
;
inited
=
1
;
crashed
=
TRUE
;
crashed
=
TRUE
;
sql_print_information
(
"Recovering after a crash
"
);
sql_print_information
(
"Recovering after a crash
using %s"
,
opt_name
);
if
(
tc_heuristic_recover
)
if
(
tc_heuristic_recover
)
{
{
sql_print_error
(
"Cannot perform automatic crash recovery when "
sql_print_error
(
"Cannot perform automatic crash recovery when "
...
@@ -2948,7 +2948,10 @@ int TC_LOG_BINLOG::open(const char *opt_name)
...
@@ -2948,7 +2948,10 @@ int TC_LOG_BINLOG::open(const char *opt_name)
if
((
ev
=
Log_event
::
read_log_event
(
&
log
,
0
,
&
fdle
))
&&
if
((
ev
=
Log_event
::
read_log_event
(
&
log
,
0
,
&
fdle
))
&&
ev
->
get_type_code
()
==
FORMAT_DESCRIPTION_EVENT
&&
ev
->
get_type_code
()
==
FORMAT_DESCRIPTION_EVENT
&&
ev
->
flags
&
LOG_EVENT_BINLOG_IN_USE_F
)
ev
->
flags
&
LOG_EVENT_BINLOG_IN_USE_F
)
{
sql_print_information
(
"Recovering after a crash using %s"
,
opt_name
);
error
=
recover
(
&
log
,
(
Format_description_log_event
*
)
ev
);
error
=
recover
(
&
log
,
(
Format_description_log_event
*
)
ev
);
}
else
else
error
=
0
;
error
=
0
;
...
...
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