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
c492a239
Commit
c492a239
authored
Aug 14, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move function to be visible in embedded server
parent
9d779efe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
13 deletions
+11
-13
sql/log_event.h
sql/log_event.h
+11
-13
No files found.
sql/log_event.h
View file @
c492a239
...
...
@@ -774,6 +774,17 @@ class Log_event
{
return
0
;
}
virtual
bool
write_data_body
(
IO_CACHE
*
file
__attribute__
((
unused
)))
{
return
0
;
}
inline
ulong
get_time
()
{
THD
*
tmp_thd
;
if
(
when
)
return
(
ulong
)
when
;
if
(
thd
)
return
thd
->
start_time
;
if
((
tmp_thd
=
current_thd
))
return
tmp_thd
->
start_time
;
return
my_time
(
0
);
}
#endif
virtual
Log_event_type
get_type_code
()
=
0
;
virtual
bool
is_valid
()
const
=
0
;
...
...
@@ -925,19 +936,6 @@ class Log_event
non-zero. The caller shall decrease the counter by one.
*/
virtual
enum_skip_reason
do_shall_skip
(
RELAY_LOG_INFO
*
rli
);
inline
ulong
get_time
()
{
THD
*
tmp_thd
;
if
(
when
)
return
(
ulong
)
when
;
if
(
thd
)
return
thd
->
start_time
;
if
((
tmp_thd
=
current_thd
))
return
tmp_thd
->
start_time
;
return
my_time
(
0
);
}
#endif
};
...
...
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