fix mysql_client_test failure, sometimes we do warnings differently

This commit is contained in:
Sergei Golubchik 2013-07-09 18:09:22 +02:00
parent 8f56dc7203
commit 67002a58ce

View File

@ -17340,11 +17340,10 @@ static void test_wl4166_3()
rc= mysql_stmt_execute(stmt); rc= mysql_stmt_execute(stmt);
check_execute(stmt, rc); check_execute(stmt, rc);
/* /*
Sic: only one warning, instead of two. The warning The warning about data truncation when assigning a parameter is lost.
about data truncation when assigning a parameter is lost.
This is a bug. 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"); verify_col_data("t1", "year", "0000-00-00 00:00:00");