diff options
-rw-r--r-- | extra/replace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/replace.c b/extra/replace.c index b31b64aaff7..5444f443382 100644 --- a/extra/replace.c +++ b/extra/replace.c @@ -282,7 +282,7 @@ int insert_pointer_name(reg1 POINTER_ARRAY *pa,my_string name) pa->max_length=(pa->length+length+MALLOC_OVERHEAD+PS_MALLOC-1)/PS_MALLOC; pa->max_length=pa->max_length*PS_MALLOC-MALLOC_OVERHEAD; if (!(new_pos= (byte*) my_realloc((gptr) pa->str, - (uint) (pa->max_length+PS_MALLOC), + (uint) pa->max_length, MYF(MY_WME)))) DBUG_RETURN(1); if (new_pos != pa->str) |