summaryrefslogtreecommitdiff
path: root/myisammrg/myrg_update.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisammrg/myrg_update.c')
-rw-r--r--myisammrg/myrg_update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisammrg/myrg_update.c b/myisammrg/myrg_update.c
index 0d4fc0bf215..7b9f614b965 100644
--- a/myisammrg/myrg_update.c
+++ b/myisammrg/myrg_update.c
@@ -21,7 +21,7 @@
int myrg_update(register MYRG_INFO *info,const byte *oldrec, byte *newrec)
{
if (!info->current_table)
- return my_errno=HA_ERR_NO_ACTIVE_RECORD;
+ return (my_errno=HA_ERR_NO_ACTIVE_RECORD);
return mi_update(info->current_table->table,oldrec,newrec);
}