diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-11-10 11:24:13 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2020-11-10 11:24:13 +0100 |
commit | 5fbfdae130950d0a5a07d4b909f3bf1ff0498d34 (patch) | |
tree | 1c1dac1c9bdd0af9a49107e7a0f3540ff8ff881a /tests | |
parent | a0536d4253ff096b82ab1da01471784b4ab3b253 (diff) | |
parent | dba846ce2a4c57363c4f0256b0e6d2dd1a55ac40 (diff) | |
download | mariadb-git-5fbfdae130950d0a5a07d4b909f3bf1ff0498d34.tar.gz |
Merge branch '10.3' into 10.4mariadb-10.4.17
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mysql_client_test.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index 393bf342dd5..31c71c705a2 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -21076,8 +21076,11 @@ static void test_mdev19838() " VALUES " "(0x1111111111111111)", -1); - /* Expecting an error if parameters are sent */ - DIE_UNLESS(rc != 0 || paramCount == 0); + /* + We allow junk at the end of the packet in case of + no parameters. So it will succeed. + */ + DIE_UNLESS(rc == 0); } mysql_stmt_close(stmt); |