mysys/mf_format.c

workaround for SCO realpath() bug
sql/slave.cc
    fixed memory leak when slave runs bad query


mysys/mf_format.c:
  workaround for SCO realpath() bug
sql/slave.cc:
  fixed memory leak when slave runs bad query
This commit is contained in:
unknown 2000-10-28 14:38:09 -06:00
commit 9e1257059d
2 changed files with 6 additions and 1 deletions

View file

@ -33,11 +33,15 @@
/* 32 Resolve filename to full path */
/* 64 Return NULL if too long path */
#ifdef SCO
#define BUFF_LEN 4097
#else
#ifdef MAXPATHLEN
#define BUFF_LEN MAXPATHLEN
#else
#define BUFF_LEN FN_LEN
#endif
#endif
my_string fn_format(my_string to, const char *name, const char *dsk,
const char *form, int flag)