Merge pull request #4703 from taosdata/hotfix/test

[TD-2549]
This commit is contained in:
huili 2020-12-24 15:13:05 +08:00 committed by GitHub
commit 04d4a9ec34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -332,6 +332,9 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state) {
break;
case 'N':
arguments->data_batch = atoi(arg);
if (arguments->data_batch >= INT16_MAX) {
arguments->data_batch = INT16_MAX - 1;
}
break;
case 'L':
{