Commit 67002a58 authored by Sergei Golubchik's avatar Sergei Golubchik

fix mysql_client_test failure, sometimes we do warnings differently

parent 8f56dc72
...@@ -17340,11 +17340,10 @@ static void test_wl4166_3() ...@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment