diff options
author | Eugene Kosov <claprix@yandex.ru> | 2021-08-23 16:47:25 +0600 |
---|---|---|
committer | Eugene Kosov <claprix@yandex.ru> | 2021-08-23 16:47:25 +0600 |
commit | 4ee9e0664250ec1d6d2c0ea4ac6652c8b114fec0 (patch) | |
tree | c228536d9031da204d48f8ff13c0bdc75c3bc563 | |
parent | ca89489716890ebab5b207e49f3b157e78e0f8e4 (diff) | |
download | mariadb-git-4ee9e0664250ec1d6d2c0ea4ac6652c8b114fec0.tar.gz |
fix clang build
-rw-r--r-- | storage/maria/ma_rt_test.c | 3 | ||||
-rw-r--r-- | storage/myisam/rt_test.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/storage/maria/ma_rt_test.c b/storage/maria/ma_rt_test.c index 5af941b78c8..f7e38af3dce 100644 --- a/storage/maria/ma_rt_test.c +++ b/storage/maria/ma_rt_test.c @@ -133,7 +133,6 @@ static int run_test(const char *filename) int key_length=8; int null_fields=0; int nrecords=sizeof(rt_data)/(sizeof(double)*4);/* 40 */ - int rec_length=0; int uniques=0; int i, max_i; int error; @@ -153,7 +152,6 @@ static int run_test(const char *filename) recinfo[0].type=FIELD_NORMAL; recinfo[0].length=1; /* For NULL bits */ - rec_length=1; /* Define 2*ndims columns for coordinates*/ @@ -161,7 +159,6 @@ static int run_test(const char *filename) { recinfo[i].type=FIELD_NORMAL; recinfo[i].length=key_length; - rec_length+=key_length; } /* Define a key with 2*ndims segments */ diff --git a/storage/myisam/rt_test.c b/storage/myisam/rt_test.c index 78deb80064a..07310039fd0 100644 --- a/storage/myisam/rt_test.c +++ b/storage/myisam/rt_test.c @@ -103,7 +103,6 @@ static int run_test(const char *filename) int key_length=8; int null_fields=0; int nrecords=sizeof(rt_data)/(sizeof(double)*4);/* 3000;*/ - int rec_length=0; int uniques=0; int i, max_i; int error; @@ -123,14 +122,12 @@ static int run_test(const char *filename) recinfo[0].type=FIELD_NORMAL; recinfo[0].length=1; /* For NULL bits */ - rec_length=1; /* Define 2*ndims columns for coordinates*/ for (i=1; i<=2*ndims ;i++){ recinfo[i].type=FIELD_NORMAL; recinfo[i].length=key_length; - rec_length+=key_length; } /* Define a key with 2*ndims segments */ |