diff options
author | monty@mishka.local <> | 2004-04-27 17:32:40 +0300 |
---|---|---|
committer | monty@mishka.local <> | 2004-04-27 17:32:40 +0300 |
commit | 4999203fbd2f01252b36fe7d580d60e6b09d4121 (patch) | |
tree | d120ae1415ec73524eea47c5900cc9bc5138c029 /mysys/charset.c | |
parent | ef18b1373832514425afbe2a2413c4b63e5c6b95 (diff) | |
download | mariadb-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.c | 2 |
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; |