summaryrefslogtreecommitdiff
path: root/storage/myisam
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-08-25 07:53:23 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-08-25 07:53:23 +0300
commit1b2acc5b9d784d2cb4cc11e657f1134589c228d4 (patch)
treeb0070ac425dddb91599f3d33d4e58b3e7e689ef9 /storage/myisam
parent2c9f2a4c8c8b32649d78b94f6e62da57e689f2b5 (diff)
parente696e9e63f0ffb9867c24bcfb1aee0e62a233874 (diff)
downloadmariadb-git-1b2acc5b9d784d2cb4cc11e657f1134589c228d4.tar.gz
Merge 10.4 into 10.5
Diffstat (limited to 'storage/myisam')
-rw-r--r--storage/myisam/rt_test.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/storage/myisam/rt_test.c b/storage/myisam/rt_test.c
index 11e824a8893..a35d41a0025 100644
--- a/storage/myisam/rt_test.c
+++ b/storage/myisam/rt_test.c
@@ -104,7 +104,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;
@@ -125,14 +124,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 */