diff options
author | unknown <ram@mysql.r18.ru> | 2003-03-28 18:18:23 +0400 |
---|---|---|
committer | unknown <ram@mysql.r18.ru> | 2003-03-28 18:18:23 +0400 |
commit | 6a11159509ccd86bf8f1a0ff388e3503270b9e51 (patch) | |
tree | bc19a210d0f6eab4b7eca4c5a5101e829909c533 /myisam/rt_split.c | |
parent | 1fadf09793d3b0650c5c76f66505ed1d375c4c4d (diff) | |
download | mariadb-git-6a11159509ccd86bf8f1a0ff388e3503270b9e51.tar.gz |
Bug fix: should check _mi_write_keypage() return value.
Diffstat (limited to 'myisam/rt_split.c')
-rw-r--r-- | myisam/rt_split.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/myisam/rt_split.c b/myisam/rt_split.c index a075b81e3a7..3bababca368 100644 --- a/myisam/rt_split.c +++ b/myisam/rt_split.c @@ -331,13 +331,10 @@ int rtree_split_page(MI_INFO *info, MI_KEYDEF *keyinfo, uchar *page, uchar *key, mi_putint(new_page, 2 + n2 * full_length, nod_flag); *new_page_offs=_mi_new(info, keyinfo); - _mi_write_keypage(info, keyinfo, *new_page_offs, new_page); + err_code= _mi_write_keypage(info, keyinfo, *new_page_offs, new_page); my_afree((byte*)new_page); split_err: my_afree((byte*)coord_buf); return err_code; } - - - |