diff options
Diffstat (limited to 'myisam/sp_test.c')
-rw-r--r-- | myisam/sp_test.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/myisam/sp_test.c b/myisam/sp_test.c index 4c267c08c14..1a7c2785964 100644 --- a/myisam/sp_test.c +++ b/myisam/sp_test.c @@ -41,7 +41,7 @@ static void rtree_PrintWKB(uchar *wkb, uint n_dims); static char blob_key[MAX_REC_LENGTH]; -int main(int argc __attribute__((unused)),char *argv[] __attribute__((unused))) +int main(int argc __attribute__((unused)),char *argv[]) { MY_INIT(argv[0]); exit(run_test("sp_test")); @@ -320,7 +320,9 @@ static int read_with_pos (MI_INFO * file,int silent) } -static void bprint_record(char * record, my_off_t offs __attribute__((unused)), +#ifdef NOT_USED +static void bprint_record(char * record, + my_off_t offs __attribute__((unused)), const char * tail) { int i; @@ -335,6 +337,8 @@ static void bprint_record(char * record, my_off_t offs __attribute__((unused)), } printf("%s",tail); } +#endif + static void print_record(char * record, my_off_t offs,const char * tail) { @@ -358,6 +362,7 @@ static void print_record(char * record, my_off_t offs,const char * tail) +#ifndef NOT_USED static void create_point(char *record,uint rownr) { uint tmp; @@ -382,6 +387,7 @@ static void create_point(char *record,uint rownr) ptr=blob_key; memcpy_fixed(pos,&ptr,sizeof(char*)); } +#endif static void create_linestring(char *record,uint rownr) |