summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2017-12-18 19:03:51 +0300
committerGitHub <noreply@github.com>2017-12-18 19:03:51 +0300
commitb55a149194e7f73b5ceb35a0a5d5fb575a8ba586 (patch)
tree5586c3cbb6189f5823bb71e983eb381f6769fda8 /sql/log_event.h
parentd5e37621cf1dd2fe1a1226992be05ca57d595b79 (diff)
downloadmariadb-git-b55a149194e7f73b5ceb35a0a5d5fb575a8ba586.tar.gz
Timestamp-based versioning for InnoDB [closes #209]
* Removed integer_fields check * Reworked Vers_parse_info::check_sys_fields() * Misc renames * versioned as vers_sys_type_t * Removed versioned_by_sql(), versioned_by_engine() versioned() works as before; versioned(VERS_TIMESTAMP) is versioned_by_sql(); versioned(VERS_TRX_ID) is versioned_by_engine(). * create_tmp_table() fix * Foreign constraints for timestamp-based * Range auto-specifier fix * SQL: 1-row partition rotation fix [fixes #260] * Fix 'drop system versioning, algorithm=inplace'
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 2dedd8bbe9a..4d84bc34a47 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -4746,7 +4746,7 @@ public:
__attribute__((unused)),
const uchar *after_record)
{
- DBUG_ASSERT(!table->versioned_by_engine());
+ DBUG_ASSERT(!table->versioned(VERS_TRX_ID));
return thd->binlog_write_row(table, is_transactional, after_record);
}
#endif
@@ -4828,7 +4828,7 @@ public:
const uchar *before_record,
const uchar *after_record)
{
- DBUG_ASSERT(!table->versioned_by_engine());
+ DBUG_ASSERT(!table->versioned(VERS_TRX_ID));
return thd->binlog_update_row(table, is_transactional,
before_record, after_record);
}
@@ -4918,7 +4918,7 @@ public:
const uchar *after_record
__attribute__((unused)))
{
- DBUG_ASSERT(!table->versioned_by_engine());
+ DBUG_ASSERT(!table->versioned(VERS_TRX_ID));
return thd->binlog_delete_row(table, is_transactional,
before_record);
}