From 6a11159509ccd86bf8f1a0ff388e3503270b9e51 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 28 Mar 2003 18:18:23 +0400 Subject: Bug fix: should check _mi_write_keypage() return value. --- myisam/rt_split.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'myisam/rt_split.c') 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; } - - - -- cgit v1.2.1