summaryrefslogtreecommitdiff
path: root/innobase/include/row0upd.ic
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/include/row0upd.ic')
-rw-r--r--innobase/include/row0upd.ic5
1 files changed, 5 insertions, 0 deletions
diff --git a/innobase/include/row0upd.ic b/innobase/include/row0upd.ic
index b1b10bef0e8..b785e52caa0 100644
--- a/innobase/include/row0upd.ic
+++ b/innobase/include/row0upd.ic
@@ -23,6 +23,7 @@ upd_create(
mem_heap_t* heap) /* in: heap from which memory allocated */
{
upd_t* update;
+ ulint i;
update = mem_heap_alloc(heap, sizeof(upd_t));
@@ -30,6 +31,10 @@ upd_create(
update->n_fields = n;
update->fields = mem_heap_alloc(heap, sizeof(upd_field_t) * n);
+ for (i = 0; i < n; i++) {
+ update->fields[i].extern_storage = 0;
+ }
+
return(update);
}