Skip to content

Commit

Permalink
Pseudo fixed an issue with debug limit by raising the limit
Browse files Browse the repository at this point in the history
  • Loading branch information
pbondo committed Jan 4, 2013
1 parent c00e46d commit 29cb6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backends/postgresql/vector-into-type.cpp
Expand Up @@ -167,7 +167,7 @@ void resizevector_(void * p, std::size_t sz)

void postgresql_vector_into_type_backend::resize(std::size_t sz)
{
assert(sz < std::numeric_limits<unsigned short>::max()); // Not a strong constraint, for debugging only
assert(sz < 10*std::numeric_limits<unsigned short>::max()); // Not a strong constraint, for debugging only. Notice my fix is even worse

switch (type_)
{
Expand Down

0 comments on commit 29cb6c7

Please sign in to comment.