summaryrefslogtreecommitdiff
path: root/mysys/charset.c
diff options
context:
space:
mode:
authormonty@mishka.local <>2004-04-27 17:32:40 +0300
committermonty@mishka.local <>2004-04-27 17:32:40 +0300
commit4999203fbd2f01252b36fe7d580d60e6b09d4121 (patch)
treed120ae1415ec73524eea47c5900cc9bc5138c029 /mysys/charset.c
parentef18b1373832514425afbe2a2413c4b63e5c6b95 (diff)
downloadmariadb-git-4999203fbd2f01252b36fe7d580d60e6b09d4121.tar.gz
Fixed results for previous patch
Ensure that mysqldump doesn't give an error about missing Index.xml when it's not needed
Diffstat (limited to 'mysys/charset.c')
-rw-r--r--mysys/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/charset.c b/mysys/charset.c
index 80f62b06a3e..ccb8bdbe5bf 100644
--- a/mysys/charset.c
+++ b/mysys/charset.c
@@ -373,7 +373,7 @@ static my_bool my_read_charset_file(const char *filename, myf myflags)
uint len;
MY_STAT stat_info;
- if (!my_stat(filename, &stat_info, MYF(MY_WME)) ||
+ if (!my_stat(filename, &stat_info, MYF(myflags)) ||
((len= (uint)stat_info.st_size) > MY_MAX_ALLOWED_BUF) ||
!(buf= (char *)my_malloc(len,myflags)))
return TRUE;