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
80dc1ee7
Commit
80dc1ee7
authored
Feb 20, 2008
by
sven@riska.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed the unused function int THD::binlog_flush_transaction_cache()
parent
444da164
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
30 deletions
+0
-30
sql/log.cc
sql/log.cc
+0
-29
sql/sql_class.h
sql/sql_class.h
+0
-1
No files found.
sql/log.cc
View file @
80dc1ee7
...
...
@@ -3403,35 +3403,6 @@ void THD::binlog_set_stmt_begin() {
trx_data
->
before_stmt_pos
=
pos
;
}
int
THD
::
binlog_flush_transaction_cache
()
{
DBUG_ENTER
(
"binlog_flush_transaction_cache"
);
binlog_trx_data
*
trx_data
=
(
binlog_trx_data
*
)
thd_get_ha_data
(
this
,
binlog_hton
);
DBUG_PRINT
(
"enter"
,
(
"trx_data=0x%lu"
,
(
ulong
)
trx_data
));
if
(
trx_data
)
DBUG_PRINT
(
"enter"
,
(
"trx_data->before_stmt_pos=%lu"
,
(
ulong
)
trx_data
->
before_stmt_pos
));
/*
Write the transaction cache to the binary log. We don't flush and
sync the log file since we don't know if more will be written to
it. If the caller want the log file sync:ed, the caller has to do
it.
The transaction data is only reset upon a successful write of the
cache to the binary log.
*/
if
(
trx_data
&&
likely
(
mysql_bin_log
.
is_open
()))
{
if
(
int
error
=
mysql_bin_log
.
write_cache
(
&
trx_data
->
trans_log
,
true
,
true
))
DBUG_RETURN
(
error
);
trx_data
->
reset
();
}
DBUG_RETURN
(
0
);
}
/*
Write a table map to the binary log.
...
...
sql/sql_class.h
View file @
80dc1ee7
...
...
@@ -1243,7 +1243,6 @@ class THD :public Statement,
Public interface to write RBR events to the binlog
*/
void
binlog_start_trans_and_stmt
();
int
binlog_flush_transaction_cache
();
void
binlog_set_stmt_begin
();
int
binlog_write_table_map
(
TABLE
*
table
,
bool
is_transactional
);
int
binlog_write_row
(
TABLE
*
table
,
bool
is_transactional
,
...
...
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