summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storage/maria/ma_rt_test.c3
-rw-r--r--storage/myisam/rt_test.c3
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 */