Commit 7e57cbec authored by unknown's avatar unknown
Browse files

Merge neptunus.(none):/home/msvensson/mysql/bug13809/my50-bug13809

into  neptunus.(none):/home/msvensson/mysql/mysql-5.0


client/mysqltest.c:
  Auto merged
parents f04e21e1 f47a3805
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -2562,10 +2562,16 @@ int read_line(char *buf, int size)
      continue;
    }

    /* Line counting is independent of state */
    if (c == '\n')
    {
      /* Line counting is independent of state */
      cur_file->lineno++;

      /* Convert cr/lf to lf */
      if (p != buf && *(p-1) == '\r')
        *(p-1)= 0;
    }

    switch(state) {
    case R_NORMAL:
      /*  Only accept '{' in the beginning of a line */