1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Fixed compiler warnings (introduced by changeset b78ba1b251)

This commit is contained in:
Georg Richter
2021-06-24 11:27:07 +02:00
parent 367c53a26f
commit 9661ddaefb
4 changed files with 7 additions and 5 deletions

View File

@@ -674,11 +674,11 @@ static int test_bug1500(MYSQL *mysql)
static int test_bug15510(MYSQL *mysql)
{
SKIP_MYSQL(mysql);
MYSQL_STMT *stmt;
int rc;
const char *query= "select 1 from dual where 1/0";
SKIP_MYSQL(mysql);
rc= mysql_query(mysql, "set @@sql_mode='ERROR_FOR_DIVISION_BY_ZERO'");
check_mysql_rc(rc, mysql);