mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build
This commit is contained in:
commit
bea1bfd5c7
1 changed files with 1 additions and 3 deletions
|
@ -1290,9 +1290,7 @@ static bool add_line(String &buffer,char *line,char *in_string,
|
|||
if (status.add_to_history && line[0] && not_in_history(line))
|
||||
add_history(line);
|
||||
#endif
|
||||
#ifdef USE_MB
|
||||
char *end_of_line=line+(uint) strlen(line);
|
||||
#endif
|
||||
|
||||
for (pos=out=line ; (inchar= (uchar) *pos) ; pos++)
|
||||
{
|
||||
|
@ -1382,7 +1380,7 @@ static bool add_line(String &buffer,char *line,char *in_string,
|
|||
}
|
||||
}
|
||||
else if (!*ml_comment && !*in_string &&
|
||||
strlen(pos) >= 10 &&
|
||||
(end_of_line - pos) >= 10 &&
|
||||
!my_strnncoll(charset_info, (uchar*) pos, 10,
|
||||
(const uchar*) "delimiter ", 10))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue