diff options
author | unknown <monty@mysql.com> | 2006-02-25 13:24:18 +0200 |
---|---|---|
committer | unknown <monty@mysql.com> | 2006-02-25 13:24:18 +0200 |
commit | 3093b5fea7318d06b35e3e86a6a9991e6808d288 (patch) | |
tree | 288406f6e3ace5d4c7f1cf508daf0f377101627d /tests | |
parent | 0afb6ff66082f64c7c0aea62662e4c03e7c987c5 (diff) | |
download | mariadb-git-3093b5fea7318d06b35e3e86a6a9991e6808d288.tar.gz |
Fixed new introduced bug in binlog.test with --ps-protocol
mysql-test/t/binlog.test:
Fixed --ps-protocol (Side effect from last patch)
sql/sql_db.cc:
Removed compiler warning
Fixed memory loss on slave
tests/mysql_client_test.c:
Removed compiler warnings
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mysql_client_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index c265375a263..f58804505d4 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -14724,9 +14724,9 @@ static void test_bug12744() mysql_close(mysql); - if (rc= mysql_stmt_execute(prep_stmt)) + if ((rc= mysql_stmt_execute(prep_stmt))) { - if (rc= mysql_stmt_reset(prep_stmt)) + if ((rc= mysql_stmt_reset(prep_stmt))) printf("OK!\n"); else { |