Show charsets dir in error message, instead of just "path: default".

include/my_sys.h:
  make get_charsets_dir a public function
libmysql/libmysql.c:
  show charsets dir instead of the string "default" in error message
mysys/charset.c:
  make get_charsets_dir a public function
This commit is contained in:
unknown 2000-10-09 16:10:41 -04:00
commit b465979edc
3 changed files with 14 additions and 5 deletions

View file

@ -178,6 +178,7 @@ extern CHARSET_INFO *get_charset_by_name(const char *cs_name, myf flags);
extern my_bool set_default_charset_by_name(const char *cs_name, myf flags);
extern void free_charsets(void);
extern char *list_charsets(myf want_flags); /* my_free() this string... */
extern char *get_charsets_dir(char *buf);
/* statistics */