diff options
author | Michael Widenius <monty@askmonty.org> | 2011-05-04 21:28:02 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2011-05-04 21:28:02 +0300 |
commit | 3c9ae014ca93480ab7f4868d5c69db59bc1a9fd1 (patch) | |
tree | 65d2426e219864085b0fe57f756cd982f433f6b0 /client/readline.cc | |
parent | ca67f01baefbdc1e50ee3f7ca2bbe759d8017166 (diff) | |
download | mariadb-git-3c9ae014ca93480ab7f4868d5c69db59bc1a9fd1.tar.gz |
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.
Diffstat (limited to 'client/readline.cc')
-rw-r--r-- | client/readline.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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; |