summaryrefslogtreecommitdiff
path: root/sql/records.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-04-01 19:51:57 +0200
committerSergei Golubchik <serg@mariadb.org>2016-12-12 20:27:31 +0100
commit7459f0c03a972fb1fab481490d3c6c52d3dfa4df (patch)
treead921db0b4db1e0c51575b3eae2b970081a07017 /sql/records.cc
parent163478db4512237ca67574fe008ddea5970e67dd (diff)
downloadmariadb-git-7459f0c03a972fb1fab481490d3c6c52d3dfa4df.tar.gz
cleanup: don't update_virtual_fields from READ_RECORD
it was done only in some access methods, not in all, so the caller had to update_virtual_fields anyway.
Diffstat (limited to 'sql/records.cc')
-rw-r--r--sql/records.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/sql/records.cc b/sql/records.cc
index e7a4ab836c0..fccfa751c7e 100644
--- a/sql/records.cc
+++ b/sql/records.cc
@@ -358,8 +358,6 @@ static int rr_quick(READ_RECORD *info)
break;
}
}
- if (info->table->vfield)
- update_virtual_fields(info->thd, info->table);
return tmp;
}
@@ -483,8 +481,6 @@ int rr_sequential(READ_RECORD *info)
break;
}
}
- if (!tmp && info->table->vfield)
- update_virtual_fields(info->thd, info->table);
return tmp;
}