File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
storage/ndb/src/kernel/blocks/dbdict Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -14799,7 +14799,6 @@ Dbdict::set_index_stat_frag(Signal* signal, TableRecordPtr indexPtr)
1479914799 const Uint32 nodeIndex = value % noOfReplicas;
1480014800
1480114801 indexPtr.p->indexStatFragId = fragId;
14802- bzero(indexPtr.p->indexStatNodes, sizeof(indexPtr.p->indexStatNodes));
1480314802
1480414803 /**
1480514804 * Use the bitmask for sorting, the order of node IDs in frag_data is
@@ -14813,7 +14812,7 @@ Dbdict::set_index_stat_frag(Signal* signal, TableRecordPtr indexPtr)
1481314812 }
1481414813
1481514814 // clear list
14816- memset(indexPtr.p->indexStatNodes, 0, sizeof(indexPtr.p->indexStatNodes) / sizeof(Uint16) );
14815+ memset(indexPtr.p->indexStatNodes, 0, sizeof(indexPtr.p->indexStatNodes));
1481714816
1481814817 // rotate the sorted nodes into the list
1481914818 for (Uint32 nodeId = sortedNodes.find_first(), i = 0;
You can’t perform that action at this time.
0 commit comments