diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-12-14 08:57:39 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-12-14 08:57:39 +0200 |
commit | fa389b9098722522fa17c216375ea7ea8c5757c5 (patch) | |
tree | c23c102f0e3ca93027fbcdc8ee8b120f32b71dca /sql/sql_class.h | |
parent | 7ab42fdd23308cd92eab14c5c1e587d5ef87c339 (diff) | |
parent | 2f959a691071b9a192c47e083618e33e8b03dd39 (diff) | |
download | mariadb-git-fa389b9098722522fa17c216375ea7ea8c5757c5.tar.gz |
Merge 10.9 into 10.10
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 0ccd695788f..5369d8d73b1 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -7399,8 +7399,13 @@ inline int handler::ha_ft_read(uchar *buf) { int error= ft_read(buf); if (!error) + { update_rows_read(); + if (table->vfield && buf == table->record[0]) + table->update_virtual_fields(this, VCOL_UPDATE_FOR_READ); + } + table->status=error ? STATUS_NOT_FOUND: 0; return error; } |