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

Fixed test case for reset_connection:

We need to cast with my_ulonglong instead of ulong
This commit is contained in:
Georg Richter
2017-03-06 06:33:19 +01:00
parent 5b50a934c8
commit aae1d2df74

View File

@@ -1036,7 +1036,7 @@ static int test_reset(MYSQL *mysql)
rc= mysql_reset_connection(mysql);
check_mysql_rc(rc, mysql);
FAIL_IF(mysql_affected_rows(mysql) != ~(unsigned long)0, "Expected 0 rows");
FAIL_IF(mysql_affected_rows(mysql) != ~(my_ulonglong)0, "Expected 0 rows");
rc= mysql_query(mysql, "SELECT a FROM t1");
check_mysql_rc(rc, mysql);