summaryrefslogtreecommitdiff
path: root/sql/records.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/records.cc')
-rw-r--r--sql/records.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/records.cc b/sql/records.cc
index 3342c7db685..10d145fb1e2 100644
--- a/sql/records.cc
+++ b/sql/records.cc
@@ -331,7 +331,7 @@ static int rr_quick(READ_RECORD *info)
break;
}
}
- update_virtual_fields(info->table);
+ update_virtual_fields(info->thd, info->table);
return tmp;
}
@@ -400,7 +400,7 @@ int rr_sequential(READ_RECORD *info)
}
}
if (!tmp)
- update_virtual_fields(info->table);
+ update_virtual_fields(info->thd, info->table);
return tmp;
}