From 3c9ae014ca93480ab7f4868d5c69db59bc1a9fd1 Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Wed, 4 May 2011 21:28:02 +0300 Subject: 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. --- client/readline.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'client') diff --git a/client/readline.cc b/client/readline.cc index 946cb582977..4edccebef39 100644 --- a/client/readline.cc +++ b/client/readline.cc @@ -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; -- cgit v1.2.1