Fixed build errors on centos5-amd64-minimal, where we compile with very few character sets

Fixed compiler warnings

client/readline.cc:
  Fixed compiler warning
mysql-test/t/mysqldump.test:
  Only run test if utf8 is used
sql/log.cc:
  Fixed compiler warning
sql/mysql_priv.h:
  Fixed compiler warnings
tests/mysql_client_test.c:
  Don't abort test if ucs2 is not in use.
This commit is contained in:
Michael Widenius 2011-05-04 21:28:02 +03:00
commit 3c9ae014ca
5 changed files with 16 additions and 9 deletions

View file

@ -56,6 +56,7 @@ char *batch_readline(LINE_BUFFER *line_buff)
{
char *pos;
ulong out_length;
LINT_INIT(out_length);
if (!(pos=intern_read_line(line_buff, &out_length)))
return 0;