diff options
author | Michael Widenius <monty@askmonty.org> | 2011-02-25 20:15:27 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2011-02-25 20:15:27 +0200 |
commit | 52b64be318d642149933da958d518ad9ee7fed20 (patch) | |
tree | 0aeb7ec43f03be21a874c67ffbeb1e52d8e78dba /storage/xtradb | |
parent | 6c610ed97964a6370e7082ca1fd1f11c4d6720ba (diff) | |
download | mariadb-git-52b64be318d642149933da958d518ad9ee7fed20.tar.gz |
Fixed compiler warnings
client/readline.cc:
Initialize not used variable (to kill wrong compiler warning)
mysql-test/suite/handler/aria.result:
Updated test result
mysql-test/suite/handler/handler.inc:
Changed index to ensure rows are in a fixed order
mysql-test/suite/handler/heap.result:
Updated test result
mysql-test/suite/handler/innodb.result:
Updated test result
mysql-test/suite/handler/myisam.result:
Updated test result
plugin/handler_socket/handlersocket/Makefile.am:
Use CXX flags to compile
sql/filesort.cc:
Initialize variable that may be used
sql/log.cc:
Initialize not used variable (to kill wrong compiler warning)
sql/opt_range_mrr.cc:
Fixed cast to avoid compiler warning
storage/xtradb/fil/fil0fil.c:
Added cast to avoid compiler warning
Diffstat (limited to 'storage/xtradb')
-rw-r--r-- | storage/xtradb/fil/fil0fil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/xtradb/fil/fil0fil.c b/storage/xtradb/fil/fil0fil.c index a8520187013..926b1de3051 100644 --- a/storage/xtradb/fil/fil0fil.c +++ b/storage/xtradb/fil/fil0fil.c @@ -3313,7 +3313,7 @@ skip_info: } if (page_is_corrupt) { - fprintf(stderr, " [errp:%lld]", offset / UNIV_PAGE_SIZE); + fprintf(stderr, " [errp:%lld]", (longlong) (offset / UNIV_PAGE_SIZE)); /* cannot treat corrupt page */ goto skip_write; |