Skip to content

Commit

Permalink
MariaRocks port: put back the assert
Browse files Browse the repository at this point in the history
MyRocks seems to no longer depend on it not being present after the
merge.
  • Loading branch information
spetrunia committed Jan 21, 2017
1 parent 1f0c28f commit 351043a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sql/field.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8721,6 +8721,7 @@ int Field_enum::store(longlong nr, bool unsigned_val)

double Field_enum::val_real(void)
{
ASSERT_COLUMN_MARKED_FOR_READ;
return (double) Field_enum::val_int();
}

Expand Down

0 comments on commit 351043a

Please sign in to comment.