summaryrefslogtreecommitdiff
path: root/myisam/rt_mbr.c
diff options
context:
space:
mode:
authorunknown <venu@myvenu.com>2003-01-18 14:04:34 -0800
committerunknown <venu@myvenu.com>2003-01-18 14:04:34 -0800
commite2c7d5d7ec77d056cc2ad7c9d9ef7cb132cc78de (patch)
tree0224ea691e3d85f3eebb0412ae0b6eea5a4e39c8 /myisam/rt_mbr.c
parent193d1f6c3bcb05ff694c8e300f00b68b44b08d24 (diff)
downloadmariadb-git-e2c7d5d7ec77d056cc2ad7c9d9ef7cb132cc78de.tar.gz
Windows build fix
Diffstat (limited to 'myisam/rt_mbr.c')
-rw-r--r--myisam/rt_mbr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/myisam/rt_mbr.c b/myisam/rt_mbr.c
index e9cf7a6176e..bb13c0769b3 100644
--- a/myisam/rt_mbr.c
+++ b/myisam/rt_mbr.c
@@ -228,7 +228,7 @@ double rtree_rect_volume(HA_KEYSEG *keyseg, uchar *a, uint key_length)
case HA_KEYTYPE_LONGLONG:
RT_VOL_KORR(longlong, mi_sint8korr, 8, (double));
case HA_KEYTYPE_ULONGLONG:
- RT_VOL_KORR(ulonglong, mi_uint8korr, 8, ulonglong2double);
+ RT_VOL_KORR(longlong, mi_sint8korr, 8, ulonglong2double);
#endif
case HA_KEYTYPE_FLOAT:
RT_VOL_GET(float, mi_float4get, 4, (double));
@@ -311,7 +311,7 @@ int rtree_d_mbr(HA_KEYSEG *keyseg, uchar *a, uint key_length, double *res)
case HA_KEYTYPE_LONGLONG:
RT_D_MBR_KORR(longlong, mi_sint8korr, 8, (double));
case HA_KEYTYPE_ULONGLONG:
- RT_D_MBR_KORR(ulonglong, mi_uint8korr, 8, ulonglong2double);
+ RT_D_MBR_KORR(longlong, mi_sint8korr, 8, ulonglong2double);
#endif
case HA_KEYTYPE_FLOAT:
RT_D_MBR_GET(float, mi_float4get, 4, (double));
@@ -516,7 +516,7 @@ double rtree_overlapping_area(HA_KEYSEG *keyseg, uchar* a, uchar* b,
case HA_KEYTYPE_LONGLONG:
RT_OVL_AREA_KORR(longlong, mi_sint8korr, 8);
case HA_KEYTYPE_ULONGLONG:
- RT_OVL_AREA_KORR(ulonglong, mi_uint8korr, 8);
+ RT_OVL_AREA_KORR(longlong, mi_sint8korr, 8);
#endif
case HA_KEYTYPE_FLOAT:
RT_OVL_AREA_GET(float, mi_float4get, 4);
@@ -614,7 +614,7 @@ double rtree_area_increase(HA_KEYSEG *keyseg, uchar* a, uchar* b,
case HA_KEYTYPE_LONGLONG:
RT_AREA_INC_KORR(longlong, mi_sint8korr, 8);
case HA_KEYTYPE_ULONGLONG:
- RT_AREA_INC_KORR(ulonglong, mi_uint8korr, 8);
+ RT_AREA_INC_KORR(longlong, mi_sint8korr, 8);
#endif
case HA_KEYTYPE_FLOAT:
RT_AREA_INC_GET(float, mi_float4get, 4);