Commit 7459f0c0 authored by Sergei Golubchik's avatar Sergei Golubchik

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.
parent 163478db
...@@ -2619,7 +2619,6 @@ a b ...@@ -2619,7 +2619,6 @@ a b
-1 18446744073709551615 -1 18446744073709551615
Warnings: Warnings:
Note 1105 Cast to unsigned converted negative integer to it's positive complement Note 1105 Cast to unsigned converted negative integer to it's positive complement
Note 1105 Cast to unsigned converted negative integer to it's positive complement
drop table t1; drop table t1;
set sql_warnings = 0; set sql_warnings = 0;
# Convert() # Convert()
...@@ -2641,7 +2640,6 @@ a b ...@@ -2641,7 +2640,6 @@ a b
-1 18446744073709551615 -1 18446744073709551615
Warnings: Warnings:
Note 1105 Cast to unsigned converted negative integer to it's positive complement Note 1105 Cast to unsigned converted negative integer to it's positive complement
Note 1105 Cast to unsigned converted negative integer to it's positive complement
drop table t1; drop table t1;
set sql_warnings = 0; set sql_warnings = 0;
# #
......
...@@ -358,8 +358,6 @@ static int rr_quick(READ_RECORD *info) ...@@ -358,8 +358,6 @@ static int rr_quick(READ_RECORD *info)
break; break;
} }
} }
if (info->table->vfield)
update_virtual_fields(info->thd, info->table);
return tmp; return tmp;
} }
...@@ -483,8 +481,6 @@ int rr_sequential(READ_RECORD *info) ...@@ -483,8 +481,6 @@ int rr_sequential(READ_RECORD *info)
break; break;
} }
} }
if (!tmp && info->table->vfield)
update_virtual_fields(info->thd, info->table);
return tmp; return tmp;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment