Commit edc89f75 authored by Michael Widenius's avatar Michael Widenius

Buildbot fixes and cleanups:

- Added --verbose to BUILD scripts to get make to write out compile commands.
- Detect if AM_EXTRA_MAKEFLAGS=VERBOSE=1 was used with build scripts.
- Don't write warnings about replication variables when doing bootstrap.
- Fixed that mysql_cond_wait() and mysql_cond_timedwait() will report original source file in case of errors.
- Ignore some compiler warnings

BUILD/FINISH.sh:
  Detect if AM_EXTRA_MAKEFLAGS=VERBOSE=1 or --verbose was used
BUILD/SETUP.sh:
  Added --verbose to print out the full compile lines
  Updated help message
client/mysqltest.cc:
  Fixed that one can use 'replace' with cat_file
cmake/configure.pl:
  If --verbose is used, get make to write out compile commands
debian/dist/Debian/rules:
  Added $AM_EXTRA_MAKEFLAGS to get VERBOSE=1 on buildbot builds
debian/dist/Ubuntu/rules:
  Added $AM_EXTRA_MAKEFLAGS to get VERBOSE=1 on buildbot builds
include/my_pthread.h:
  Made set_timespec_time_nsec() more portable.
include/mysql/psi/mysql_thread.h:
  Fixed that mysql_cond_wait() and mysql_cond_timedwait() will report original source file in case of errors.
mysql-test/suite/innodb/r/auto_increment_dup.result:
  Fixed wrong DBUG_SYNC
mysql-test/suite/innodb/t/auto_increment_dup.test:
  Fixed wrong DBUG_SYNC
mysql-test/suite/perfschema/include/upgrade_check.inc:
  Make test more portable for changes in *.sql files
mysql-test/suite/perfschema/r/pfs_upgrade.result:
  Updated test results
mysql-test/valgrind.supp:
  Ignore running Aria checkpoint thread
scripts/mysqlaccess.sh:
  Changed reference of bugs database
  Ensure that also client-server group is read.
sql/handler.cc:
  Added missing syncpoint
sql/mysqld.cc:
  Don't write warnings about replication variables when doing bootstrap
sql/mysqld.h:
  Don't write warnings about replication variables when doing bootstrap
sql/rpl_rli.cc:
  Don't write warnings about replication variables when doing bootstrap
sql/sql_insert.cc:
  Don't mask SERVER_SHUTDOWN in insert_delayed
  This is done to be able to distingush between shutdown and interrupt errors
support-files/compiler_warnings.supp:
  Ignore some compiler warnings in xtradb,innobase, oqgraph, yassl, string3.h
parent 9684140f
...@@ -27,6 +27,11 @@ then ...@@ -27,6 +27,11 @@ then
configure="$configure --print" configure="$configure --print"
fi fi
if test "$AM_EXTRA_MAKEFLAGS" = "VERBOSE=1" -o "$verbose_make" = "1"
then
configure="$configure --verbose"
fi
commands="\ commands="\
/bin/rm -rf configure; /bin/rm -rf configure;
/bin/rm -rf CMakeCache.txt CMakeFiles/ /bin/rm -rf CMakeCache.txt CMakeFiles/
...@@ -45,7 +50,7 @@ if [ -z "$just_configure" -a -z "$just_clean" ] ...@@ -45,7 +50,7 @@ if [ -z "$just_configure" -a -z "$just_clean" ]
then then
commands="$commands commands="$commands
$make $AM_MAKEFLAGS" $make $AM_MAKEFLAGS $AM_EXTRA_MAKEFLAGS"
if [ "x$strip" = "xyes" ] if [ "x$strip" = "xyes" ]
then then
......
...@@ -30,6 +30,11 @@ Usage: $0 [-h|-n] [configure-options] ...@@ -30,6 +30,11 @@ Usage: $0 [-h|-n] [configure-options]
-h, --help Show this help message. -h, --help Show this help message.
-n, --just-print Don't actually run any commands; just print them. -n, --just-print Don't actually run any commands; just print them.
-c, --just-configure Stop after running configure. -c, --just-configure Stop after running configure.
--extra-configs=xxx Add this to configure options
--extra-flags=xxx Add this C and CXX flags
--extra-cflags=xxx Add this to C flags
--extra-cxxflags=xxx Add this to CXX flags
--verbose Print out full compile lines
--with-debug=full Build with full debug(no optimizations, keep call stack). --with-debug=full Build with full debug(no optimizations, keep call stack).
--warning-mode=[old|pedantic|maintainer] --warning-mode=[old|pedantic|maintainer]
Influences the debug flags. Old is default. Influences the debug flags. Old is default.
...@@ -62,6 +67,8 @@ parse_options() ...@@ -62,6 +67,8 @@ parse_options()
just_configure=1;; just_configure=1;;
-n | --just-print | --print) -n | --just-print | --print)
just_print=1;; just_print=1;;
--verbose)
verbose_make=1;;
-h | --help) -h | --help)
usage usage
exit 0;; exit 0;;
...@@ -87,6 +94,7 @@ just_configure= ...@@ -87,6 +94,7 @@ just_configure=
warning_mode= warning_mode=
maintainer_mode= maintainer_mode=
full_debug= full_debug=
verbose_make=
parse_options "$@" parse_options "$@"
......
...@@ -1654,12 +1654,12 @@ int cat_file(DYNAMIC_STRING* ds, const char* filename) ...@@ -1654,12 +1654,12 @@ int cat_file(DYNAMIC_STRING* ds, const char* filename)
{ {
int fd; int fd;
size_t len; size_t len;
char buff[512]; char buff[16384];
if ((fd= my_open(filename, O_RDONLY, MYF(0))) < 0) if ((fd= my_open(filename, O_RDONLY, MYF(0))) < 0)
return 1; return 1;
while((len= my_read(fd, (uchar*)&buff, while((len= my_read(fd, (uchar*)&buff,
sizeof(buff), MYF(0))) > 0) sizeof(buff)-1, MYF(0))) > 0)
{ {
char *p= buff, *start= buff; char *p= buff, *start= buff;
while (p < buff+len) while (p < buff+len)
...@@ -1670,7 +1670,8 @@ int cat_file(DYNAMIC_STRING* ds, const char* filename) ...@@ -1670,7 +1670,8 @@ int cat_file(DYNAMIC_STRING* ds, const char* filename)
/* Add fake newline instead of cr and output the line */ /* Add fake newline instead of cr and output the line */
*p= '\n'; *p= '\n';
p++; /* Step past the "fake" newline */ p++; /* Step past the "fake" newline */
dynstr_append_mem(ds, start, p-start); *p= 0;
replace_dynstr_append_mem(ds, start, p-start);
p++; /* Step past the "fake" newline */ p++; /* Step past the "fake" newline */
start= p; start= p;
} }
...@@ -1678,7 +1679,8 @@ int cat_file(DYNAMIC_STRING* ds, const char* filename) ...@@ -1678,7 +1679,8 @@ int cat_file(DYNAMIC_STRING* ds, const char* filename)
p++; p++;
} }
/* Output any chars that migh be left */ /* Output any chars that migh be left */
dynstr_append_mem(ds, start, p-start); *p= 0;
replace_dynstr_append_mem(ds, start, p-start);
} }
my_close(fd, MYF(0)); my_close(fd, MYF(0));
return 0; return 0;
......
...@@ -222,6 +222,11 @@ foreach my $option (@ARGV) ...@@ -222,6 +222,11 @@ foreach my $option (@ARGV)
$cmakeargs = $cmakeargs." -DENABLE_GCOV=ON"; $cmakeargs = $cmakeargs." -DENABLE_GCOV=ON";
next; next;
} }
if ($option =~ /verbose/)
{
$cmakeargs = $cmakeargs." -DCMAKE_VERBOSE_MAKEFILE=1";
next;
}
$option = uc($option); $option = uc($option);
$option =~ s/-/_/g; $option =~ s/-/_/g;
......
...@@ -84,7 +84,7 @@ build-stamp: configure ...@@ -84,7 +84,7 @@ build-stamp: configure
@echo "RULES.$@" @echo "RULES.$@"
dh_testdir dh_testdir
cd $(builddir) && $(MAKE) $(MAKE_J) cd $(builddir) && $(MAKE) $(MAKE_J) $(AM_EXTRA_MAKEFLAGS)
ifeq ($(findstring nocheck,$(DEB_BUILD_OPTIONS)),) ifeq ($(findstring nocheck,$(DEB_BUILD_OPTIONS)),)
# Don't know why the following is necessary... # Don't know why the following is necessary...
......
...@@ -84,7 +84,7 @@ build-stamp: configure ...@@ -84,7 +84,7 @@ build-stamp: configure
@echo "RULES.$@" @echo "RULES.$@"
dh_testdir dh_testdir
cd $(builddir) && $(MAKE) $(MAKE_J) cd $(builddir) && $(MAKE) $(MAKE_J) $(AM_EXTRA_MAKEFLAGS)
ifeq ($(findstring nocheck,$(DEB_BUILD_OPTIONS)),) ifeq ($(findstring nocheck,$(DEB_BUILD_OPTIONS)),)
# Don't know why the following is necessary... # Don't know why the following is necessary...
......
...@@ -350,9 +350,9 @@ int my_pthread_mutex_trylock(pthread_mutex_t *mutex); ...@@ -350,9 +350,9 @@ int my_pthread_mutex_trylock(pthread_mutex_t *mutex);
#ifndef set_timespec_time_nsec #ifndef set_timespec_time_nsec
#define set_timespec_time_nsec(ABSTIME,NSEC) do { \ #define set_timespec_time_nsec(ABSTIME,NSEC) do { \
ulonglong now= (NSEC); \ ulonglong _now_= (NSEC); \
(ABSTIME).MY_tv_sec= (now / 1000000000ULL); \ (ABSTIME).MY_tv_sec= (_now_ / 1000000000ULL); \
(ABSTIME).MY_tv_nsec= (now % 1000000000ULL); \ (ABSTIME).MY_tv_nsec= (_now_ % 1000000000ULL); \
} while(0) } while(0)
#endif /* !set_timespec_time_nsec */ #endif /* !set_timespec_time_nsec */
......
...@@ -477,7 +477,7 @@ typedef struct st_mysql_cond mysql_cond_t; ...@@ -477,7 +477,7 @@ typedef struct st_mysql_cond mysql_cond_t;
Instrumented cond_wait. Instrumented cond_wait.
@c mysql_cond_wait is a drop-in replacement for @c pthread_cond_wait. @c mysql_cond_wait is a drop-in replacement for @c pthread_cond_wait.
*/ */
#ifdef HAVE_PSI_INTERFACE #if defined(HAVE_PSI_INTERFACE) || defined(SAFE_MUTEX)
#define mysql_cond_wait(C, M) \ #define mysql_cond_wait(C, M) \
inline_mysql_cond_wait(C, M, __FILE__, __LINE__) inline_mysql_cond_wait(C, M, __FILE__, __LINE__)
#else #else
...@@ -491,7 +491,7 @@ typedef struct st_mysql_cond mysql_cond_t; ...@@ -491,7 +491,7 @@ typedef struct st_mysql_cond mysql_cond_t;
@c mysql_cond_timedwait is a drop-in replacement @c mysql_cond_timedwait is a drop-in replacement
for @c pthread_cond_timedwait. for @c pthread_cond_timedwait.
*/ */
#ifdef HAVE_PSI_INTERFACE #if defined(HAVE_PSI_INTERFACE) || defined(SAFE_MUTEX)
#define mysql_cond_timedwait(C, M, W) \ #define mysql_cond_timedwait(C, M, W) \
inline_mysql_cond_timedwait(C, M, W, __FILE__, __LINE__) inline_mysql_cond_timedwait(C, M, W, __FILE__, __LINE__)
#else #else
...@@ -963,7 +963,7 @@ static inline int inline_mysql_cond_destroy( ...@@ -963,7 +963,7 @@ static inline int inline_mysql_cond_destroy(
static inline int inline_mysql_cond_wait( static inline int inline_mysql_cond_wait(
mysql_cond_t *that, mysql_cond_t *that,
mysql_mutex_t *mutex mysql_mutex_t *mutex
#ifdef HAVE_PSI_INTERFACE #if defined(HAVE_PSI_INTERFACE) || defined(SAFE_MUTEX)
, const char *src_file, uint src_line , const char *src_file, uint src_line
#endif #endif
) )
...@@ -980,7 +980,11 @@ static inline int inline_mysql_cond_wait( ...@@ -980,7 +980,11 @@ static inline int inline_mysql_cond_wait(
PSI_server->start_cond_wait(locker, src_file, src_line); PSI_server->start_cond_wait(locker, src_file, src_line);
} }
#endif #endif
#ifdef SAFE_MUTEX
result= safe_cond_wait(&that->m_cond, &mutex->m_mutex, src_file, src_line);
#else
result= pthread_cond_wait(&that->m_cond, &mutex->m_mutex); result= pthread_cond_wait(&that->m_cond, &mutex->m_mutex);
#endif
#ifdef HAVE_PSI_INTERFACE #ifdef HAVE_PSI_INTERFACE
if (likely(locker != NULL)) if (likely(locker != NULL))
PSI_server->end_cond_wait(locker, result); PSI_server->end_cond_wait(locker, result);
...@@ -992,7 +996,7 @@ static inline int inline_mysql_cond_timedwait( ...@@ -992,7 +996,7 @@ static inline int inline_mysql_cond_timedwait(
mysql_cond_t *that, mysql_cond_t *that,
mysql_mutex_t *mutex, mysql_mutex_t *mutex,
struct timespec *abstime struct timespec *abstime
#ifdef HAVE_PSI_INTERFACE #if defined(HAVE_PSI_INTERFACE) || defined(SAFE_MUTEX)
, const char *src_file, uint src_line , const char *src_file, uint src_line
#endif #endif
) )
...@@ -1009,7 +1013,12 @@ static inline int inline_mysql_cond_timedwait( ...@@ -1009,7 +1013,12 @@ static inline int inline_mysql_cond_timedwait(
PSI_server->start_cond_wait(locker, src_file, src_line); PSI_server->start_cond_wait(locker, src_file, src_line);
} }
#endif #endif
#ifdef SAFE_MUTEX
result= safe_cond_timedwait(&that->m_cond, &mutex->m_mutex, abstime,
src_file, src_line);
#else
result= pthread_cond_timedwait(&that->m_cond, &mutex->m_mutex, abstime); result= pthread_cond_timedwait(&that->m_cond, &mutex->m_mutex, abstime);
#endif
#ifdef HAVE_PSI_INTERFACE #ifdef HAVE_PSI_INTERFACE
if (likely(locker != NULL)) if (likely(locker != NULL))
PSI_server->end_cond_wait(locker, result); PSI_server->end_cond_wait(locker, result);
......
...@@ -13,7 +13,7 @@ INSERT INTO t1(k) VALUES (1), (2), (3) ON DUPLICATE KEY UPDATE c='1'; ...@@ -13,7 +13,7 @@ INSERT INTO t1(k) VALUES (1), (2), (3) ON DUPLICATE KEY UPDATE c='1';
# #
# Connection 2 # Connection 2
# #
SET DEBUG_SYNC='start_ha_write_row WAIT_FOR continue2'; SET DEBUG_SYNC='ha_write_row_start WAIT_FOR continue2';
affected rows: 0 affected rows: 0
SET DEBUG_SYNC='after_mysql_insert SIGNAL continue1'; SET DEBUG_SYNC='after_mysql_insert SIGNAL continue1';
affected rows: 0 affected rows: 0
......
...@@ -33,7 +33,7 @@ SET DEBUG_SYNC='ha_write_row_end SIGNAL continue2 WAIT_FOR continue1'; ...@@ -33,7 +33,7 @@ SET DEBUG_SYNC='ha_write_row_end SIGNAL continue2 WAIT_FOR continue1';
--echo # --echo #
--echo # Connection 2 --echo # Connection 2
--echo # --echo #
SET DEBUG_SYNC='start_ha_write_row WAIT_FOR continue2'; SET DEBUG_SYNC='ha_write_row_start WAIT_FOR continue2';
SET DEBUG_SYNC='after_mysql_insert SIGNAL continue1'; SET DEBUG_SYNC='after_mysql_insert SIGNAL continue1';
INSERT INTO t1(k) VALUES (2), (4), (5) ON DUPLICATE KEY UPDATE c='2'; INSERT INTO t1(k) VALUES (2), (4), (5) ON DUPLICATE KEY UPDATE c='2';
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
--source include/wait_until_count_sessions.inc --source include/wait_until_count_sessions.inc
# Verify that mysql_upgrade complained about the performance_schema # Verify that mysql_upgrade complained about the performance_schema
--replace_regex /at line [0-9]+/at line ###/
--cat_file $err_file --cat_file $err_file
--error 0,1 --error 0,1
--remove_file $out_file --remove_file $out_file
......
...@@ -637,6 +637,14 @@ ...@@ -637,6 +637,14 @@
fun:kill_server fun:kill_server
} }
{
Aria checkpoint background thread not dying fast enough
Memcheck:Leak
fun:calloc
fun:my_thread_init
fun:ma_checkpoint_background
}
# #
# Warning caused by small memory leak in threaded dlopen # Warning caused by small memory leak in threaded dlopen
# #
......
...@@ -930,7 +930,7 @@ sub MergeConfigFile { ...@@ -930,7 +930,7 @@ sub MergeConfigFile {
$unsafeConfig = $fname; $unsafeConfig = $fname;
} }
} }
if ( $group eq 'client' ) { if ( $group eq 'client' || $group eq "client-server") {
$MYSQL_CNF{'mysql'}{$item} = $value; $MYSQL_CNF{'mysql'}{$item} = $value;
$MYSQL_CNF{'mysqldump'}{$item} = $value; $MYSQL_CNF{'mysqldump'}{$item} = $value;
} else { } else {
...@@ -2423,7 +2423,7 @@ sub Print_Header { ...@@ -2423,7 +2423,7 @@ sub Print_Header {
sub Print_Footer { sub Print_Footer {
if ($MySQLaccess::CMD) { #command-line mode if ($MySQLaccess::CMD) { #command-line mode
print "\n" print "\n"
."BUGs can be reported by email to bugs\@mysql.com\n"; ."BUGs can be reported trough https://mariadb.atlassian.net/browse/MDEV\n";
} }
if ($MySQLaccess::CGI) { #CGI-BIN mode if ($MySQLaccess::CGI) { #CGI-BIN mode
if ($MySQLaccess::Param{'brief'}) { if ($MySQLaccess::Param{'brief'}) {
...@@ -2431,7 +2431,7 @@ sub Print_Footer { ...@@ -2431,7 +2431,7 @@ sub Print_Footer {
} }
print "<HR>\n" print "<HR>\n"
."<ADDRESS>\n" ."<ADDRESS>\n"
."BUGs can be reported by email to <a href=mailto:bugs\@mysql.com>bugs\@mysql.com</a><BR>\n" ."BUGs can be reported through <a href=\"https://mariadb.atlassian.net/browse/MDEV\">MariaDB JIRA</a><BR>\n"
# ."Don't forget to mention the version $VERSION!<BR>\n" # ."Don't forget to mention the version $VERSION!<BR>\n"
."</ADDRESS>\n" ."</ADDRESS>\n"
."</BODY>\n" ."</BODY>\n"
......
...@@ -5125,6 +5125,7 @@ int handler::ha_write_row(uchar *buf) ...@@ -5125,6 +5125,7 @@ int handler::ha_write_row(uchar *buf)
int error; int error;
Log_func *log_func= Write_rows_log_event::binlog_row_logging_function; Log_func *log_func= Write_rows_log_event::binlog_row_logging_function;
DBUG_ENTER("handler::ha_write_row"); DBUG_ENTER("handler::ha_write_row");
DEBUG_SYNC_C("ha_write_row_start");
MYSQL_INSERT_ROW_START(table_share->db.str, table_share->table_name.str); MYSQL_INSERT_ROW_START(table_share->db.str, table_share->table_name.str);
mark_trx_read_write(); mark_trx_read_write();
......
...@@ -706,8 +706,8 @@ char *opt_logname, *opt_slow_logname, *opt_bin_logname; ...@@ -706,8 +706,8 @@ char *opt_logname, *opt_slow_logname, *opt_bin_logname;
static volatile sig_atomic_t kill_in_progress; static volatile sig_atomic_t kill_in_progress;
my_bool opt_stack_trace; my_bool opt_stack_trace;
my_bool opt_expect_abort= 0; my_bool opt_expect_abort= 0, opt_bootstrap= 0;
static my_bool opt_bootstrap, opt_myisam_log; static my_bool opt_myisam_log;
static int cleanup_done; static int cleanup_done;
static ulong opt_specialflag; static ulong opt_specialflag;
static char *opt_binlog_index_name; static char *opt_binlog_index_name;
......
...@@ -77,7 +77,7 @@ extern CHARSET_INFO *character_set_filesystem; ...@@ -77,7 +77,7 @@ extern CHARSET_INFO *character_set_filesystem;
extern MY_BITMAP temp_pool; extern MY_BITMAP temp_pool;
extern bool opt_large_files, server_id_supplied; extern bool opt_large_files, server_id_supplied;
extern bool opt_update_log, opt_bin_log, opt_error_log; extern bool opt_update_log, opt_bin_log, opt_error_log;
extern my_bool opt_log, opt_slow_log; extern my_bool opt_log, opt_slow_log, opt_bootstrap;
extern my_bool opt_backup_history_log; extern my_bool opt_backup_history_log;
extern my_bool opt_backup_progress_log; extern my_bool opt_backup_progress_log;
extern ulonglong log_output_options; extern ulonglong log_output_options;
......
...@@ -188,7 +188,8 @@ a file name for --relay-log-index option", opt_relaylog_index_name); ...@@ -188,7 +188,8 @@ a file name for --relay-log-index option", opt_relaylog_index_name);
ln= rli->relay_log.generate_name(opt_relay_logname, "-relay-bin", ln= rli->relay_log.generate_name(opt_relay_logname, "-relay-bin",
1, buf); 1, buf);
/* We send the warning only at startup, not after every RESET SLAVE */ /* We send the warning only at startup, not after every RESET SLAVE */
if (!opt_relay_logname && !opt_relaylog_index_name && !name_warning_sent) if (!opt_relay_logname && !opt_relaylog_index_name && !name_warning_sent &&
!opt_bootstrap)
{ {
/* /*
User didn't give us info to name the relay log index file. User didn't give us info to name the relay log index file.
......
...@@ -2269,11 +2269,8 @@ bool delayed_get_table(THD *thd, MDL_request *grl_protection_request, ...@@ -2269,11 +2269,8 @@ bool delayed_get_table(THD *thd, MDL_request *grl_protection_request,
want to send "Server shutdown in progress" in the want to send "Server shutdown in progress" in the
INSERT THREAD. INSERT THREAD.
*/ */
if (di->thd.stmt_da->sql_errno() == ER_SERVER_SHUTDOWN) my_message(di->thd.stmt_da->sql_errno(), di->thd.stmt_da->message(),
my_message(ER_QUERY_INTERRUPTED, ER(ER_QUERY_INTERRUPTED), MYF(0)); MYF(0));
else
my_message(di->thd.stmt_da->sql_errno(), di->thd.stmt_da->message(),
MYF(0));
} }
di->unlock(); di->unlock();
goto end_create; goto end_create;
...@@ -2358,7 +2355,7 @@ TABLE *Delayed_insert::get_local_table(THD* client_thd) ...@@ -2358,7 +2355,7 @@ TABLE *Delayed_insert::get_local_table(THD* client_thd)
killed using mysql_notify_thread_having_shared_lock() or killed using mysql_notify_thread_having_shared_lock() or
kill_delayed_threads_for_table(). kill_delayed_threads_for_table().
*/ */
if (!thd.is_error() || thd.stmt_da->sql_errno() == ER_SERVER_SHUTDOWN) if (!thd.is_error())
my_message(ER_QUERY_INTERRUPTED, ER(ER_QUERY_INTERRUPTED), MYF(0)); my_message(ER_QUERY_INTERRUPTED, ER(ER_QUERY_INTERRUPTED), MYF(0));
else else
my_message(thd.stmt_da->sql_errno(), thd.stmt_da->message(), MYF(0)); my_message(thd.stmt_da->sql_errno(), thd.stmt_da->message(), MYF(0));
......
...@@ -136,6 +136,11 @@ xaction_xt\.cc: may be used uninitialized in this function ...@@ -136,6 +136,11 @@ xaction_xt\.cc: may be used uninitialized in this function
lock_xt\.cc : uninitialized local variable .* used lock_xt\.cc : uninitialized local variable .* used
restart_xt\.cc : dereferencing pointer .* does break strict-aliasing restart_xt\.cc : dereferencing pointer .* does break strict-aliasing
#
# oqgraph errors that are hard to fix
#
oqgraph/graphcore\.cc : may be used uninitialized in this function
# #
# I think these are due to mix of C and C++. # I think these are due to mix of C and C++.
# #
...@@ -152,6 +157,7 @@ include/runtime.hpp: .*pure_error.* ...@@ -152,6 +157,7 @@ include/runtime.hpp: .*pure_error.*
.*/extra/yassl/taocrypt/src/file\.cpp: ignoring return value .*/extra/yassl/taocrypt/src/file\.cpp: ignoring return value
.*/extra/yassl/taocrypt/src/integer\.cpp: control reaches end of non-void function .*/extra/yassl/taocrypt/src/integer\.cpp: control reaches end of non-void function
mySTL/algorithm\.hpp: is used uninitialized in this function mySTL/algorithm\.hpp: is used uninitialized in this function
include/pwdbased\.hpp: comparison of unsigned expression
# #
# Groff warnings on OpenSUSE. # Groff warnings on OpenSUSE.
...@@ -176,6 +182,7 @@ net_serv.cc : .*conversion from 'SOCKET' to 'int'.* ...@@ -176,6 +182,7 @@ net_serv.cc : .*conversion from 'SOCKET' to 'int'.*
# Ignorable warnings from header files # Ignorable warnings from header files
# #
backward_warning\.h : This file includes at least one backward_warning\.h : This file includes at least one
/usr/include/i386-linux-gnu/bits/string3\.h: memset used with constant zero length parameter
# allow a little moving space for the warning below # allow a little moving space for the warning below
mi_packrec\.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 560-600 mi_packrec\.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 560-600
...@@ -190,8 +197,9 @@ ctype-simple\.c : .*unary minus operator applied to unsigned type, result still ...@@ -190,8 +197,9 @@ ctype-simple\.c : .*unary minus operator applied to unsigned type, result still
# Wrong warning due to GCC bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29478 # Wrong warning due to GCC bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29478
regexec\.c : passing argument 3 of.*matcher.* discards qualifiers from pointer target type regexec\.c : passing argument 3 of.*matcher.* discards qualifiers from pointer target type
libmysql\.c: passing argument 2 of .*memcpy.* discards qualifiers from pointer target type : 3000-4000 libmysql\.c: passing argument 2 of .*memcpy.* discards qualifiers from pointer target type : 3000-4000
storage/xtradb/dict/dict0dict\.c : passing argument 1 of .*strcpy.* discards qualifiers from pointer target type : 2500-3500 storage/.*/dict/dict0dict\.c : passing argument 1 of .*strcpy.* discards qualifiers from pointer target type : 2500-3500
storage/xtradb/sync/sync0rw\.c : passing argument 1 of .*memset.* discards qualifiers from pointer target type : 200-300 storage/.*/sync/sync0rw\.c : passing argument 1 of .*memset.* discards qualifiers from pointer target type : 200-300
storage/.*/btr/btr0sea\.c : passing argument 2 of .*btr_cur_position.* discards qualifiers from pointer
# #
# Strange things from autoconf that is probably safe to ignore # Strange things from autoconf that is probably safe to ignore
...@@ -199,3 +207,4 @@ storage/xtradb/sync/sync0rw\.c : passing argument 1 of .*memset.* discards quali ...@@ -199,3 +207,4 @@ storage/xtradb/sync/sync0rw\.c : passing argument 1 of .*memset.* discards quali
configure.in : warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body configure.in : warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
configure.in : config/ac-macros/character_sets.m4.*prefer named diversions configure.in : config/ac-macros/character_sets.m4.*prefer named diversions
warning: File listed twice
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment