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
f07738ca
Commit
f07738ca
authored
Aug 14, 2007
by
monty@mysql.com/narttu.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move function to be visible in embedded server
parent
914620e0
Changes
1
Show 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 @
f07738ca
...
...
@@ -774,6 +774,17 @@ public:
{
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 @@ protected:
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