@@ -182,9 +182,9 @@ const ::hybridse::codec::Row& FullTableIterator::GetValue() {
182182 slice_row = kv_it_->GetValue ();
183183 }
184184 size_t sz = slice_row.size ();
185- int8_t * copyed_row_data = reinterpret_cast <int8_t *>(malloc (sz));
186- memcpy (copyed_row_data , slice_row.data (), sz);
187- auto shared_slice = ::hybridse::base::RefCountedSlice::CreateManaged (copyed_row_data , sz);
185+ int8_t * copied_row_data = reinterpret_cast <int8_t *>(malloc (sz));
186+ memcpy (copied_row_data , slice_row.data (), sz);
187+ auto shared_slice = ::hybridse::base::RefCountedSlice::CreateManaged (copied_row_data , sz);
188188 buffered_slices_.push_back (shared_slice);
189189 value_.Reset (shared_slice);
190190 return value_;
@@ -419,9 +419,9 @@ const ::hybridse::codec::Row& RemoteWindowIterator::GetValue() {
419419 size_t sz = slice_row.size ();
420420 // for distributed environment, slice_row's data probably become invalid when the DistributeWindowIterator
421421 // iterator goes out of scope. so copy action occurred here
422- int8_t * copyed_row_data = reinterpret_cast <int8_t *>(malloc (sz));
423- memcpy (copyed_row_data , slice_row.data (), sz);
424- auto shared_slice = ::hybridse::base::RefCountedSlice::CreateManaged (copyed_row_data , sz);
422+ int8_t * copied_row_data = reinterpret_cast <int8_t *>(malloc (sz));
423+ memcpy (copied_row_data , slice_row.data (), sz);
424+ auto shared_slice = ::hybridse::base::RefCountedSlice::CreateManaged (copied_row_data , sz);
425425 row_.Reset (shared_slice);
426426 DLOG (INFO) << " get value pk " << pk_ << " ts_key " << kv_it_->GetKey () << " ts " << ts_;
427427 valid_value_ = true ;
0 commit comments