Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
10.2.6
-
Debian 8.8 x32 - Digitalocean
# uname -a
Linux framework 3.16.0-4-686-pae #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) i686 GNU/Linux
Description
[ 42%] Building C object libmariadb/unittest/libmariadb/CMakeFiles/connection.dir/connection.c.o
In file included from /var/tmp/mariadb_build/mariadb_src/libmariadb/unittest/libmariadb/connection.c:28:0:
/var/tmp/mariadb_build/mariadb_src/libmariadb/unittest/libmariadb/connection.c: In function ‘test_connection_timeout’:
/var/tmp/mariadb_build/mariadb_src/libmariadb/unittest/libmariadb/connection.c:660:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
FAIL_IF(elapsed > 2 * timeout, "timeout ignored")
^
/var/tmp/mariadb_build/mariadb_src/libmariadb/unittest/libmariadb/my_test.h:79:5: note: in definition of macro ‘FAIL_IF’
if (expr)\
^
/var/tmp/mariadb_build/mariadb_src/libmariadb/unittest/libmariadb/connection.c: In function ‘test_connection_timeout2’:
/var/tmp/mariadb_build/mariadb_src/libmariadb/unittest/libmariadb/connection.c:680:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
FAIL_IF(elapsed > 2 * timeout, "timeout ignored")
^
/var/tmp/mariadb_build/mariadb_src/libmariadb/unittest/libmariadb/my_test.h:79:5: note: in definition of macro ‘FAIL_IF’
if (expr)\
^
/var/tmp/mariadb_build/mariadb_src/libmariadb/unittest/libmariadb/connection.c: In function ‘test_connection_timeout3’:
/var/tmp/mariadb_build/mariadb_src/libmariadb/unittest/libmariadb/connection.c:705:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
FAIL_IF(elapsed > timeout + 1, "timeout ignored")
^
/var/tmp/mariadb_build/mariadb_src/libmariadb/unittest/libmariadb/my_test.h:79:5: note: in definition of macro ‘FAIL_IF’
if (expr)\
^