Skip to content

Commit

Permalink
fix for TVP where a vector of type numeric is sent to driver
Browse files Browse the repository at this point in the history
  • Loading branch information
TimelordUK committed May 8, 2020
1 parent e5b9c7c commit eba3d24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MutateJS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@ namespace mssql
return val;
}

Local<Value> MutateJS::get_array_elelemt_at_index(const Local<Array>& arr, const int index)
Local<Value> MutateJS::get_array_elelemt_at_index(const Local<Array>& arr, const unsigned int index)
{
const auto elem = arr->Get(index);
return elem;
}

void MutateJS::set_array_elelemt_at_index(const Local<Array>& arr, const int index, const Local<Value>& value)
void MutateJS::set_array_elelemt_at_index(const Local<Array>& arr, const unsigned int index, const Local<Value>& value)
{
arr->Set(index, value);
}
Expand Down

0 comments on commit eba3d24

Please sign in to comment.