diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-11-09 23:32:49 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2020-11-09 23:32:49 +0100 |
commit | 212d92ad26e14d0293bb50efd7b7461c621a24b9 (patch) | |
tree | cfb3cc0967b72191e3866cc7fb67fc81d1a5a5e7 /tests | |
parent | d5ce7824444b7491f420061076ae5087d4829428 (diff) | |
parent | bea84aefb0563a10a310ea81d46c372919345c10 (diff) | |
download | mariadb-git-212d92ad26e14d0293bb50efd7b7461c621a24b9.tar.gz |
Merge branch '10.2' into 10.3
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 f28c09a900b..3c0b05cf187 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -20995,8 +20995,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); |