1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-20342 Turn Field::flags from a member to a method

This commit is contained in:
Alexander Barkov
2019-08-14 10:26:18 +04:00
parent fa21952e25
commit e86010f909
59 changed files with 489 additions and 453 deletions

View File

@@ -903,7 +903,7 @@ dbcontext::fill_filter_buf(TABLE *table, const prep_stmt& pst,
}
const uint32_t fn = pst.get_filter_fields()[f->ff_offset];
Field *const fld = table->field[fn];
if ((fld->flags & BLOB_FLAG) != 0) {
if ((fld->flags() & BLOB_FLAG) != 0) {
return false;
}
fld->store(f->val.begin(), f->val.size(), &my_charset_bin);