diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-12-13 11:37:33 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-12-13 11:37:33 +0200 |
commit | fdf43b5c78c4aeb26efdbef3172746e007ab6f1d (patch) | |
tree | 7497fd0a024da01b2ade9c45e484a9d004a3f13b /sql/sql_class.h | |
parent | 382e85fe70cfffb6c7190c627647c19aed3912a5 (diff) | |
parent | 8f30973234de520d95dfccca8409e5802b845331 (diff) | |
download | mariadb-git-fdf43b5c78c4aeb26efdbef3172746e007ab6f1d.tar.gz |
Merge 10.3 into 10.4
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 b390c909685..e82c786c96f 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -6701,8 +6701,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; } |