From ba3ee278fe74e601a9a61819b2cdf09132c993a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Wed, 11 Nov 2020 22:15:50 +0100 Subject: [PATCH] Fixed return code for 'MYSQL_QUERY' macro in 'tap/utils.h' --- test/tap/tap/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tap/tap/utils.h b/test/tap/tap/utils.h index 7f37a6331..549110a70 100644 --- a/test/tap/tap/utils.h +++ b/test/tap/tap/utils.h @@ -10,7 +10,7 @@ if (mysql_query(mysql, query)) { \ fprintf(stderr, "File %s, line %d, Error: %s\n", \ __FILE__, __LINE__, mysql_error(mysql)); \ - return exit_status(); \ + return EXIT_FAILURE; \ } \ } while(0)