summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authormats@mysql.com <>2006-03-08 21:49:49 +0100
committermats@mysql.com <>2006-03-08 21:49:49 +0100
commit9dace13548b57bf5f70030ea71bfffd535cd7ae2 (patch)
tree42a1a803b9e726b1fe7abc1de0be5b1cb040e35c /sql/log_event.h
parent53f9de6c00a130a09343d6218c70700709260aac (diff)
downloadmariadb-git-9dace13548b57bf5f70030ea71bfffd535cd7ae2.tar.gz
WL#3023 (Use locks in a statement-like manner):
Changes according to review comments.
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 9a5fb7cd73b..d6ce354fbdf 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -1833,36 +1833,6 @@ public:
return m_rows_buf && m_cols.bitmap;
}
- /*
- If there is no table map active for the event, write one to the
- binary log.
-
- LOCK_log has to be aquired before calling this function.
-
- PARAMETERS
- thd - Thread to use when writing the table map
-
- RETURN VALUE
- Error code, or zero if write succeeded.
- */
-#if !defined(MYSQL_CLIENT) && defined(HAVE_ROW_BASED_REPLICATION)
-#if 0
- int maybe_write_table_map(THD *thd, IO_CACHE *file, MYSQL_LOG *log) const
- {
- /*
- N.B., get_cache_stmt() returns the value of 'using_trans' that
- was provided to the constructor, i.e., get_cache_stmt() == true
- if and only if the table is transactional.
- */
-
- int result= 0;
- if (!log->is_table_mapped(m_table))
- result= log->write_table_map(thd, file, m_table, get_cache_stmt());
- return result;
- }
-#endif
-#endif
-
uint m_row_count; /* The number of rows added to the event */
protected: