diff options
author | unknown <bar@bar.intranet.mysql.r18.ru> | 2003-12-24 16:04:26 +0400 |
---|---|---|
committer | unknown <bar@bar.intranet.mysql.r18.ru> | 2003-12-24 16:04:26 +0400 |
commit | 56f484056355118e8ae5f5f22a45b3e3a64db885 (patch) | |
tree | dce876cfc3e6ec4aba43687d541cfad280795949 /mysys/charset.c | |
parent | b72efef6f8eccdb7e47bac298668f31086853657 (diff) | |
download | mariadb-git-56f484056355118e8ae5f5f22a45b3e3a64db885.tar.gz |
charset.c:
he mysqld server crashes if issued a command select convert(...)
with a
non-compiled character set:
mysys/charset.c:
he mysqld server crashes if issued a command select convert(...)
with a
non-compiled character set:
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 1fe926a51d6..f8c8237c88b 100644 --- a/mysys/charset.c +++ b/mysys/charset.c @@ -539,8 +539,8 @@ static CHARSET_INFO *get_internal_charset(uint cs_number, myf flags) { strxmov(get_charsets_dir(buf), cs->csname, ".xml", NullS); my_read_charset_file(buf,flags); - cs= (cs->state & MY_CS_LOADED) ? cs : NULL; } + cs= (cs->state & MY_CS_AVAILABLE) ? cs : NULL; pthread_mutex_unlock(&THR_LOCK_charset); return cs; } |