From 67002a58ce90e0728e35da3cf59252de880aa234 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Tue, 9 Jul 2013 18:09:22 +0200 Subject: fix mysql_client_test failure, sometimes we do warnings differently --- tests/mysql_client_test.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/mysql_client_test.c') diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index 93ed18ed565..17610e6d53f 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -17340,11 +17340,10 @@ static void test_wl4166_3() rc= mysql_stmt_execute(stmt); check_execute(stmt, rc); /* - Sic: only one warning, instead of two. The warning - about data truncation when assigning a parameter is lost. + The warning about data truncation when assigning a parameter is lost. This is a bug. */ - my_process_warnings(mysql, 1); + my_process_warnings(mysql, 0); verify_col_data("t1", "year", "0000-00-00 00:00:00"); -- cgit v1.2.1