summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <kaa@polly.local>2007-03-28 20:16:23 +0400
committerunknown <kaa@polly.local>2007-03-28 20:16:23 +0400
commit6ba16a703aa42e283d62ecac2928320fd277099e (patch)
tree280991beac8d0d8cea439679673006b8ed354e4c /mysys
parentff7db598a270ba3342ec0f2fc290e43003699241 (diff)
parent3d90a07a0666877448c5662aa5dc8b2561d2d4fb (diff)
downloadmariadb-git-6ba16a703aa42e283d62ecac2928320fd277099e.tar.gz
Merge polly.local:/tmp/maint/bug26844/my50-bug26844
into polly.local:/home/kaa/src/maint/mysql-5.0-maint
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_malloc.c2
-rw-r--r--mysys/safemalloc.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/mysys/my_malloc.c b/mysys/my_malloc.c
index 3baf55d4c57..38d0263b495 100644
--- a/mysys/my_malloc.c
+++ b/mysys/my_malloc.c
@@ -37,7 +37,7 @@ gptr my_malloc(unsigned int size, myf my_flags)
if (my_flags & MY_FAE)
error_handler_hook=fatal_error_handler_hook;
if (my_flags & (MY_FAE+MY_WME))
- my_error(EE_OUTOFMEMORY, MYF(ME_BELL+ME_WAITTANG),size);
+ my_error(EE_OUTOFMEMORY, MYF(ME_BELL+ME_WAITTANG+ME_NOREFRESH),size);
if (my_flags & MY_FAE)
exit(1);
}
diff --git a/mysys/safemalloc.c b/mysys/safemalloc.c
index f43c860adb0..a7d8f372151 100644
--- a/mysys/safemalloc.c
+++ b/mysys/safemalloc.c
@@ -150,11 +150,11 @@ gptr _mymalloc(uint size, const char *filename, uint lineno, myf MyFlags)
char buff[SC_MAXWIDTH];
my_errno=errno;
sprintf(buff,"Out of memory at line %d, '%s'", lineno, filename);
- my_message(EE_OUTOFMEMORY,buff,MYF(ME_BELL+ME_WAITTANG));
+ my_message(EE_OUTOFMEMORY, buff, MYF(ME_BELL+ME_WAITTANG+ME_NOREFRESH));
sprintf(buff,"needed %d byte (%ldk), memory in use: %ld bytes (%ldk)",
size, (size + 1023L) / 1024L,
sf_malloc_max_memory, (sf_malloc_max_memory + 1023L) / 1024L);
- my_message(EE_OUTOFMEMORY,buff,MYF(ME_BELL+ME_WAITTANG));
+ my_message(EE_OUTOFMEMORY, buff, MYF(ME_BELL+ME_WAITTANG+ME_NOREFRESH));
}
DBUG_PRINT("error",("Out of memory, in use: %ld at line %d, '%s'",
sf_malloc_max_memory,lineno, filename));