Skip to content

Commit

Permalink
Fixed bug which was introduced in 1218ffa:
Browse files Browse the repository at this point in the history
Don't return a truncation error (101) in case length is larger than parameter offset.
  • Loading branch information
9EOR9 committed Mar 10, 2020
1 parent acdd9da commit b704700
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libmariadb/ma_stmt_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -596,8 +596,6 @@ static void convert_froma_string(MYSQL_BIND *r_param, char *buffer, size_t len)
*r_param->error= (copylen > r_param->buffer_length);

}
else
*r_param->error= 1;
*r_param->length= (ulong)len;
}
break;
Expand Down

0 comments on commit b704700

Please sign in to comment.