From 49f161cf17cb8fefe6bf0ad341e09faae24ac5ba Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 25 Jun 2002 16:32:16 +0200 Subject: do not crash on myrg_rprev/myrg_rnext if no current table (as when previous myrg_rkey failed, e.g. found nothing) myisammrg/myrg_delete.c: style fix myisammrg/myrg_locking.c: style fix myisammrg/myrg_rnext.c: do not crash on rprev/rnext if no current table (as when previous rkey failed, e.g. found nothing) myisammrg/myrg_rprev.c: do not crash on rprev/rnext if no current table (as when previous rkey failed, e.g. found nothing) myisammrg/myrg_rrnd.c: style fix myisammrg/myrg_rsame.c: style fix myisammrg/myrg_update.c: style fix myisammrg/myrg_write.c: style fix --- myisammrg/myrg_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'myisammrg/myrg_write.c') diff --git a/myisammrg/myrg_write.c b/myisammrg/myrg_write.c index 4e597005503..f911355aed5 100644 --- a/myisammrg/myrg_write.c +++ b/myisammrg/myrg_write.c @@ -26,5 +26,5 @@ int myrg_write(register MYRG_INFO *info, byte *rec) else if (info->merge_insert_method == MERGE_INSERT_TO_LAST) return mi_write(info->end_table[-1].table,rec); else /* unsupported insertion method */ - return (my_errno=HA_ERR_WRONG_COMMAND); + return my_errno=HA_ERR_WRONG_COMMAND; } -- cgit v1.2.1