mirror of
https://github.com/MariaDB/server.git
synced 2026-05-05 14:45:31 +02:00
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:
parent
add02ff882
commit
9e1257059d
2 changed files with 6 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue