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
d6391bec
Commit
d6391bec
authored
Feb 08, 2008
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime
into dipika.(none):/opt/local/work/mysql-5.1-runtime
parents
25888fe3
ba068d64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
sql/log.cc
sql/log.cc
+6
-1
No files found.
sql/log.cc
View file @
d6391bec
...
...
@@ -501,11 +501,13 @@ bool Log_to_csv_event_handler::
bool
result
=
TRUE
;
bool
need_close
=
FALSE
;
bool
need_rnd_end
=
FALSE
;
Silence_log_table_errors
error_handler
;
Open_tables_state
open_tables_backup
;
CHARSET_INFO
*
client_cs
=
thd
->
variables
.
character_set_client
;
bool
save_time_zone_used
;
DBUG_ENTER
(
"Log_to_csv_event_handler::log_slow"
);
thd
->
push_internal_handler
(
&
error_handler
);
/*
CSV uses TIME_to_timestamp() internally if table needs to be repaired
which will set thd->time_zone_used
...
...
@@ -635,8 +637,11 @@ bool Log_to_csv_event_handler::
result
=
FALSE
;
err:
thd
->
pop_internal_handler
();
if
(
result
)
sql_print_error
(
"Failed to write to mysql.slow_log"
);
sql_print_error
(
"Failed to write to mysql.slow_log: %s"
,
error_handler
.
message
());
if
(
need_rnd_end
)
{
...
...
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