Commit 1c0da611 authored by reggie@mdk10.(none)'s avatar reggie@mdk10.(none)

BUG# 10687: Merge engine fails under Windows

This cset is to roll out the cset applied earlier from Ingo.
This bug has been fixed with a different cset.
parent c9e7c0fd
...@@ -406,8 +406,8 @@ int ha_myisammrg::create(const char *name, register TABLE *form, ...@@ -406,8 +406,8 @@ int ha_myisammrg::create(const char *name, register TABLE *form,
This means that it might not be possible to move the DATADIR of This means that it might not be possible to move the DATADIR of
an embedded server without changing the paths in the .MRG file. an embedded server without changing the paths in the .MRG file.
*/ */
uint length= my_snprintf(buff, FN_REFLEN, "%s%c%s/%s", mysql_data_home, uint length= my_snprintf(buff, FN_REFLEN, "%s%s/%s", mysql_data_home,
FN_LIBCHAR, tables->db, tables->real_name); tables->db, tables->real_name);
/* /*
If a MyISAM table is in the same directory as the MERGE table, If a MyISAM table is in the same directory as the MERGE table,
we use the table name without a path. This means that the we use the table name without a path. This means that the
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
%#[l]u %#[l]u
%#[l]x %#[l]x
%#.#s Note first # is ignored %#.#s Note first # is ignored
%c
RETURN RETURN
length of result string length of result string
...@@ -121,11 +120,6 @@ int my_vsnprintf(char *to, size_t n, const char* fmt, va_list ap) ...@@ -121,11 +120,6 @@ int my_vsnprintf(char *to, size_t n, const char* fmt, va_list ap)
to+= res_length; to+= res_length;
continue; continue;
} }
else if (*fmt == 'c')
{
*(to++)= (char) va_arg(ap, int);
continue;
}
/* We come here on '%%', unknown code or too long parameter */ /* We come here on '%%', unknown code or too long parameter */
if (to == end) if (to == end)
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment