summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-04-02 13:06:33 +0300
committerunknown <monty@narttu.mysql.fi>2003-04-02 13:06:33 +0300
commitfb9a939416165321ff4f8b9dae29363671b84de9 (patch)
treed4a289609d65ee5267fcfa371f870b2b11c26816 /myisam
parent4b06bc8451d69708d6ce36b37495d20de0b09b1e (diff)
downloadmariadb-git-fb9a939416165321ff4f8b9dae29363671b84de9.tar.gz
Fixed problem with const table named with crashed test suite on MacOSX
myisam/mi_test3.c: Fixed compiler warning myisam/rt_test.c: Fixed compiler warning
Diffstat (limited to 'myisam')
-rw-r--r--myisam/mi_test3.c2
-rw-r--r--myisam/rt_test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/myisam/mi_test3.c b/myisam/mi_test3.c
index defe041a99f..63cea4f715d 100644
--- a/myisam/mi_test3.c
+++ b/myisam/mi_test3.c
@@ -207,7 +207,7 @@ void start_test(int id)
{
mi_status(file1,&isam_info,HA_STATUS_VARIABLE);
printf("%2d: End of test. Records: %ld Deleted: %ld\n",
- id,isam_info.records,isam_info.deleted);
+ id,(long) isam_info.records, (long) isam_info.deleted);
fflush(stdout);
}
diff --git a/myisam/rt_test.c b/myisam/rt_test.c
index f5fd2018f01..8bb4687e967 100644
--- a/myisam/rt_test.c
+++ b/myisam/rt_test.c
@@ -297,7 +297,7 @@ int run_test(const char *filename)
create_record1(record, nrecords*4/5);
print_record(record,0,"\n");
hrows=mi_records_in_range(file,0,record+1,0,HA_READ_MBR_INTERSECT,record+1,0,0);
- printf(" %ld rows\n",hrows);
+ printf(" %ld rows\n", (long) hrows);
if (mi_close(file)) goto err;