summaryrefslogtreecommitdiff
path: root/tests/mysql_client_test.c
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-07-09 18:09:22 +0200
committerSergei Golubchik <sergii@pisem.net>2013-07-09 18:09:22 +0200
commit67002a58ce90e0728e35da3cf59252de880aa234 (patch)
tree696ec69ce925278e663980096d8bfb06ae824695 /tests/mysql_client_test.c
parent8f56dc7203e58fa05177ef07b7e594933f1e618e (diff)
downloadmariadb-git-67002a58ce90e0728e35da3cf59252de880aa234.tar.gz
fix mysql_client_test failure, sometimes we do warnings differently
Diffstat (limited to 'tests/mysql_client_test.c')
-rw-r--r--tests/mysql_client_test.c5
1 files changed, 2 insertions, 3 deletions
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");