diff options
author | unknown <ram@mysql.r18.ru> | 2003-02-17 19:29:09 +0400 |
---|---|---|
committer | unknown <ram@mysql.r18.ru> | 2003-02-17 19:29:09 +0400 |
commit | e1d91737bd6a0182070fb6e1bafa87308da040f9 (patch) | |
tree | 41f9f32b2e9d4940e84691d161c9e63d15d11a9a /myisam/rt_split.c | |
parent | 2b141612128d90e62032f5a898b3e14df96ef2cf (diff) | |
download | mariadb-git-e1d91737bd6a0182070fb6e1bafa87308da040f9.tar.gz |
bug fixes
myisam/rt_key.c:
bug fix
myisam/rt_split.c:
bug fix
Diffstat (limited to 'myisam/rt_split.c')
-rw-r--r-- | myisam/rt_split.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/rt_split.c b/myisam/rt_split.c index 3363bbe2d9b..a075b81e3a7 100644 --- a/myisam/rt_split.c +++ b/myisam/rt_split.c @@ -263,7 +263,7 @@ int rtree_split_page(MI_INFO *info, MI_KEYDEF *keyinfo, uchar *page, uchar *key, int max_keys = (mi_getint(page)-2) / (full_length); - n_dim = (keyinfo->keysegs-1) / 2; + n_dim = keyinfo->keysegs / 2; { int coord_buf_size = n_dim * 2 * sizeof(double) * (max_keys + 1 + 4); |