mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 02:30:06 +01:00
e689fbc458
Fixed bug that caused change_user.test to fail Fixed bug that caused mysql_client_test to fail include/myisam.h: Fixed prototypes mysql-test/r/create.result: Fix that test works even if Maria is not used for temporary tables mysql-test/t/create.test: Fix that test works even if Maria is not used for temporary tables sql/mysqld.cc: Fixed that default value of max_join_size is set correctly; It needs to match usage in set_var.cc sql/set_var.cc: Fixed test, now when max_join_size is initialized correctly sql/sql_select.cc: Fixed that one can compile without -DUSE_MARIA_FOR_TMP_TABLES storage/maria/ma_blockrec.c: Fixed compiler warnings by adding casts storage/maria/ma_checkpoint.c: Fixed compiler warnings by adding casts storage/maria/ma_create.c: Fixed compiler warnings by adding casts storage/maria/ma_delete_table.c: Fixed compiler warnings by adding casts storage/maria/ma_loghandler.c: Fixed compiler warnings by adding casts and changing types for variables Changed translog_new_page_header to use changing integer instead of calling time() as time() is a slow call and will give same results when calling many times withing one second storage/maria/ma_pagecrc.c: Fixed compiler warnings by adding casts storage/maria/ma_recovery.c: Fixed indentation storage/myisam/ha_myisam.cc: Fixed wrong types for variables Changed chk_data_link() and repair*() functions to take my_bool as argument storage/myisam/mi_check.c: Fixes to handle that param.test_flag is now ulonglong storage/myisam/myisamchk.c: Fixes to handle that param.test_flag is now ulonglong support-files/compiler_warnings.supp: Fixed line numbers
91 lines
3.4 KiB
Text
91 lines
3.4 KiB
Text
#
|
|
# This file contains compiler warnings that can
|
|
# be ignored for various reasons.
|
|
#
|
|
|
|
integer.cpp: .*control reaches end of non-void function.*: 1288-1427
|
|
DictTabInfo.cpp : .*invalid access to non-static.*
|
|
DictTabInfo.cpp : .*macro was used incorrectly.*
|
|
DbdihMain.cpp : .*unused variable.* : 6666-7013
|
|
DbtupExecQuery.cpp : .*unused variable.* : 1823
|
|
kernel_types.h : .*only defines private constructors and has no friends.* : 51
|
|
Dbtup.hpp: .*only defines private constructors and has no friends.*
|
|
diskpage.hpp: .*only defines private constructors and has no friends.*
|
|
tuppage.hpp: .*only defines private constructors and has no friends.*
|
|
NdbScanOperation.cpp: .*unused variable '__align'.* : 1190-1200
|
|
sql_yacc.cc : .*label 'yyerrlab1' defined but not used.*
|
|
kernel_types.h : .*'struct Local_key' only defines private constructors and has no friends.*
|
|
lgman.hpp : .*'struct Lgman::Buffer_idx' only defines private constructors and has no friends.*
|
|
SchemaFile.hpp : .*'struct SchemaFile::TableEntry' only defines private constructors and has no friends.*
|
|
sql_yacc.cc : .*switch statement contains 'default' but no 'case' labels.*
|
|
|
|
#
|
|
# Things that can be ignored in InnoDB
|
|
#
|
|
pars0grm.tab.c: .*'yyerrorlab' : unreferenced label.*
|
|
_flex_tmp.c: .*not enough actual parameters for macro 'yywrap'.*
|
|
pars0lex.l: .*conversion from 'ulint' to 'int', possible loss of data.*
|
|
|
|
#
|
|
# bdb is not critical to keep up to date
|
|
#
|
|
.*/bdb/.* : .*discards qualifiers from pointer target type.*
|
|
.*/bdb/.* : .*unused parameter.*
|
|
.*/bdb/.* : .*may be used uninitialized.*
|
|
.*/bdb/.* : .*empty body in an if-statement.*
|
|
db_vrfy.c : .*comparison is always false due to limited range of data type.*
|
|
|
|
#
|
|
# readline is not maintained by us
|
|
#
|
|
.*/cmd-line-utils/readline/.* : .*
|
|
|
|
#
|
|
# Ignore all conversion warnings on windows 64
|
|
# (Is safe as we are not yet supporting strings >= 2G)
|
|
#
|
|
.* : conversion from '__int64' to .*int'.*
|
|
.* : conversion from '__int64' to 'uint8'.*
|
|
.* : conversion from '__int64' to 'uint32'.*
|
|
.* : conversion from '__int64' to 'u.*long'.*
|
|
.* : conversion from '__int64' to 'long'.*
|
|
.* : conversion from '__int64' to 'off_t'.*
|
|
.* : conversion from '.*size_t' to .*int'.*
|
|
.* : conversion from '.*size_t' to 'TaoCrypt::word32'.*
|
|
.* : conversion from '.*size_t' to 'u.*long'.*
|
|
.* : conversion from '.*size_t' to 'uint32'.*
|
|
.* : conversion from '.*size_t' to 'off_t'.*
|
|
.* : conversion from '.*size_t' to 'size_s'.*
|
|
.* : conversion from '.*size_t' to 'DWORD'.*
|
|
.* : conversion from '.*size_t' to 'uLongf'.*
|
|
.* : conversion from '.*size_t' to 'UINT'.*
|
|
.* : conversion from '.*size_t' to 'uInt'.*
|
|
.* : conversion from '.*size_t' to 'uint16'.*
|
|
|
|
#
|
|
# The following should be fixed by the ndb team
|
|
#
|
|
.*/ndb/.* : .*used uninitialized in this function.*
|
|
.*/ndb/.* : .*unused variable.*
|
|
.*/ndb/.* : .*defined but not used.*
|
|
|
|
#
|
|
# Maria warning that is ok in debug builds
|
|
#
|
|
storage/maria/ma_pagecache.c: .*'info_check_pin' defined but not used
|
|
|
|
#
|
|
# Unexplanable (?) stuff
|
|
#
|
|
listener.cc : .*conversion from 'SOCKET' to 'int'.*
|
|
net_serv.cc : .*conversion from 'SOCKET' to 'int'.*
|
|
|
|
# allow a little moving space for the warning below
|
|
mi_packrec.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 560-600
|
|
ma_packrec.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 550-650
|
|
|
|
#
|
|
# Wrong compiler warnings
|
|
#
|
|
.* : .*no matching operator delete found; memory will not be freed if initialization throws an exception.*
|
|
ctype-simple.c : .*unary minus operator applied to unsigned type, result still unsigned.*
|