diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-11-07 21:47:48 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-12-12 20:27:33 +0100 |
commit | 9a3ec79b53ea1916211b4134375ebde5fb7c914c (patch) | |
tree | 0730e7a7669bb5635ae77041d028655038184795 /storage/oqgraph | |
parent | 8b6c0542db908bba548bdb217d78bae25d4522ca (diff) | |
download | mariadb-git-9a3ec79b53ea1916211b4134375ebde5fb7c914c.tar.gz |
cleanup: TABLE::update_virtual_fields
Make update_virtual_fields() a method of TABLE, to be consistent
with TABLE::update_default_fields().
Diffstat (limited to 'storage/oqgraph')
-rw-r--r-- | storage/oqgraph/oqgraph_thunk.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/storage/oqgraph/oqgraph_thunk.cc b/storage/oqgraph/oqgraph_thunk.cc index 0ffd5cca414..128e6191d98 100644 --- a/storage/oqgraph/oqgraph_thunk.cc +++ b/storage/oqgraph/oqgraph_thunk.cc @@ -194,7 +194,7 @@ int oqgraph3::cursor::restore_position() } if (table.vfield) - update_virtual_fields(table.in_use, &table); + table.update_virtual_fields(VCOL_UPDATE_FOR_READ); table.file->position(table.record[0]); @@ -207,7 +207,7 @@ int oqgraph3::cursor::restore_position() } if (table.vfield) - update_virtual_fields(table.in_use, &table); + table.update_virtual_fields(VCOL_UPDATE_FOR_READ); if ((_origid && vertex_id(_graph->_source->val_int()) != *_origid) || (_destid && vertex_id(_graph->_target->val_int()) != *_destid)) @@ -232,7 +232,7 @@ int oqgraph3::cursor::restore_position() } if (table.vfield) - update_virtual_fields(table.in_use, &table); + table.update_virtual_fields(VCOL_UPDATE_FOR_READ); } _graph->_cursor= this; @@ -311,7 +311,7 @@ int oqgraph3::cursor::seek_next() } if (table.vfield) - update_virtual_fields(table.in_use, &table); + table.update_virtual_fields(VCOL_UPDATE_FOR_READ); _graph->_stale= true; if ((_origid && vertex_id(_graph->_source->val_int()) != *_origid) || @@ -346,7 +346,7 @@ int oqgraph3::cursor::seek_prev() } if (table.vfield) - update_virtual_fields(table.in_use, &table); + table.update_virtual_fields(VCOL_UPDATE_FOR_READ); _graph->_stale= true; if ((_origid && vertex_id(_graph->_source->val_int()) != *_origid) || @@ -508,7 +508,7 @@ int oqgraph3::cursor::seek_to( } if (table.vfield) - update_virtual_fields(table.in_use, &table); + table.update_virtual_fields(VCOL_UPDATE_FOR_READ); if ((_origid && vertex_id(_graph->_source->val_int()) != *_origid) || (_destid && vertex_id(_graph->_target->val_int()) != *_destid)) |