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
c8dc63b3
Commit
c8dc63b3
authored
Aug 07, 2007
by
jani@a88-113-38-195.elisa-laajakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed wrong call to my_time(), before my_init() has been called.
parent
70d937ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
sql/log_event.cc
sql/log_event.cc
+8
-1
No files found.
sql/log_event.cc
View file @
c8dc63b3
...
...
@@ -456,7 +456,11 @@ Log_event::Log_event()
thd
(
0
)
{
server_id
=
::
server_id
;
when
=
my_time
(
0
);
/*
We can't call my_time() here as this would cause a call before
my_init() is called
*/
when
=
0
;
log_pos
=
0
;
}
#endif
/* !MYSQL_CLIENT */
...
...
@@ -687,6 +691,9 @@ bool Log_event::write_header(IO_CACHE* file, ulong event_data_length)
log_pos
=
my_b_safe_tell
(
file
)
+
data_written
;
}
/* Set time of we this isn't a query */
if
(
!
when
)
when
=
current_thd
->
start_time
;
/*
Header will be of size LOG_EVENT_HEADER_LEN for all events, except for
FORMAT_DESCRIPTION_EVENT and ROTATE_EVENT, where it will be
...
...
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