summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2011-05-04 21:28:02 +0300
committerMichael Widenius <monty@askmonty.org>2011-05-04 21:28:02 +0300
commit3c9ae014ca93480ab7f4868d5c69db59bc1a9fd1 (patch)
tree65d2426e219864085b0fe57f756cd982f433f6b0 /sql/log.cc
parentca67f01baefbdc1e50ee3f7ca2bbe759d8017166 (diff)
downloadmariadb-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 'sql/log.cc')
-rw-r--r--sql/log.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/log.cc b/sql/log.cc
index c0feb753bef..ad546cc3642 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -1877,6 +1877,7 @@ static int find_uniq_filename(char *name)
size_t buf_length, length;
char *start, *end;
DBUG_ENTER("find_uniq_filename");
+ LINT_INIT(number);
length= dirname_part(buff, name, &buf_length);
start= name + length;