We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84e1971 commit 9186caeCopy full SHA for 9186cae
sql/table.cc
@@ -7568,12 +7568,10 @@ void TABLE::vers_update_fields()
7568
{
7569
DBUG_ENTER("vers_update_fields");
7570
7571
- DBUG_ASSERT(versioned());
7572
- bool res= !vers_start_field()->set_time();
7573
- DBUG_ASSERT(res);
7574
- res= !vers_end_field()->set_max_timestamp();
7575
7576
- (void)res;
+ if (vers_start_field()->set_time())
+ DBUG_ASSERT(0);
+ if (vers_end_field()->set_max_timestamp())
7577
7578
bitmap_set_bit(write_set, vers_start_field()->field_index);
7579
bitmap_set_bit(write_set, vers_end_field()->field_index);
0 commit comments