diff options
author | konstantin@mysql.com <> | 2004-12-15 01:37:22 +0300 |
---|---|---|
committer | konstantin@mysql.com <> | 2004-12-15 01:37:22 +0300 |
commit | 91457448c29e4d6a23583fb8fd35ad763b2d93da (patch) | |
tree | f6691f78f66d284205393bb523fdc5586ae82c81 /tests | |
parent | a2a3d82e62d83ce8fc5d2be6cae2e4532ca6482f (diff) | |
download | mariadb-git-91457448c29e4d6a23583fb8fd35ad763b2d93da.tar.gz |
A fix of return value of mysql_stmt_bind_result() and cleanup.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/client_test.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/client_test.c b/tests/client_test.c index b78339cc9bb..fb130a17361 100644 --- a/tests/client_test.c +++ b/tests/client_test.c @@ -5636,9 +5636,6 @@ static void test_subselect() rc= mysql_stmt_bind_param(stmt, bind); check_execute(stmt, rc); - rc= mysql_stmt_bind_result(stmt, bind); - check_execute(stmt, rc); - id= 2; rc= mysql_stmt_execute(stmt); check_execute(stmt, rc); @@ -5982,7 +5979,7 @@ static void test_pure_coverage() check_execute(stmt, rc); rc= mysql_stmt_bind_result(stmt, (MYSQL_BIND*)0); - check_execute(stmt, rc); + DIE_UNLESS(rc == 1); mysql_stmt_close(stmt); |